VehicleSeat.java revision fb5f6232486612413b129a2100bac720589dee0d
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 */ 16package android.car; 17 18import android.annotation.SystemApi; 19import 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 28public class VehicleSeat { 29 public static final int SEAT_DRIVER_LHD = 0x0001; 30 public static final int SEAT_DRIVER_RHD = 0x0002; 31 public static final int SEAT_ROW_1_PASSENGER_LEFT = 0x0010; 32 public static final int SEAT_ROW_1_PASSENGER_CENTER = 0x0020; 33 public static final int SEAT_ROW_1_PASSENGER_RIGHT = 0x0040; 34 public static final int SEAT_ROW_2_PASSENGER_LEFT = 0x0100; 35 public static final int SEAT_ROW_2_PASSENGER_CENTER = 0x0200; 36 public static final int SEAT_ROW_2_PASSENGER_RIGHT = 0x0400; 37 public static final int SEAT_ROW_3_PASSENGER_LEFT = 0x1000; 38 public static final int SEAT_ROW_3_PASSENGER_CENTER = 0x2000; 39 public static final int SEAT_ROW_3_PASSENGER_RIGHT = 0x4000; 40} 41