Home | History | Annotate | Download | only in car
      1 /*
      2  * Copyright (C) 2016 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 package android.car;
     17 
     18 import android.annotation.IntDef;
     19 import android.annotation.SystemApi;
     20 
     21 import java.lang.annotation.Retention;
     22 import java.lang.annotation.RetentionPolicy;
     23 
     24 /**
     25  * Represents vehicle area such as window, door, seat, etc.
     26  * See also {@link VehicleAreaDoor}, {@link VehicleAreaSeat},
     27  * {@link VehicleAreaWindow},
     28  *
     29  * @hide
     30  */
     31 @SystemApi
     32 public final class VehicleAreaType {
     33     /** Used for global properties */
     34     public static final int VEHICLE_AREA_TYPE_GLOBAL = 0;
     35     public static final int VEHICLE_AREA_TYPE_WINDOW = 2;
     36     public static final int VEHICLE_AREA_TYPE_SEAT = 3;
     37     public static final int VEHICLE_AREA_TYPE_DOOR = 4;
     38     public static final int VEHICLE_AREA_TYPE_MIRROR = 5;
     39     public static final int VEHICLE_AREA_TYPE_WHEEL = 6;
     40     private VehicleAreaType() {}
     41 
     42     /** @hide */
     43     @IntDef({
     44         VEHICLE_AREA_TYPE_GLOBAL,
     45         VEHICLE_AREA_TYPE_WINDOW,
     46         VEHICLE_AREA_TYPE_SEAT,
     47         VEHICLE_AREA_TYPE_DOOR,
     48         VEHICLE_AREA_TYPE_MIRROR,
     49         VEHICLE_AREA_TYPE_WHEEL
     50     })
     51     @Retention(RetentionPolicy.SOURCE)
     52     public @interface VehicleAreaTypeValue {}
     53 }
     54