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.SystemApi;
     19 import android.car.hardware.CarPropertyValue;
     20 
     21 /**
     22  * VehicleSeat is an abstraction for a seat in a car. Some car APIs like
     23  * {@link CarPropertyValue} may provide control per seat and
     24  * values defined here should be used to distinguish different seats.
     25  * @hide
     26  */
     27 @SystemApi
     28 public final class VehicleSeat {
     29     public static final int SEAT_ROW_1_LEFT = 0x0001;
     30     public static final int SEAT_ROW_1_CENTER = 0x0002;
     31     public static final int SEAT_ROW_1_RIGHT = 0x0004;
     32     public static final int SEAT_ROW_2_LEFT = 0x0010;
     33     public static final int SEAT_ROW_2_CENTER = 0x0020;
     34     public static final int SEAT_ROW_2_RIGHT = 0x0040;
     35     public static final int SEAT_ROW_3_LEFT = 0x0100;
     36     public static final int SEAT_ROW_3_CENTER = 0x0200;
     37     public static final int SEAT_ROW_3_RIGHT = 0x0400;
     38 
     39     private VehicleSeat() {}
     40 }
     41