VehicleSeat.java revision e54ac276796c6535558f8444d882adecd19ce2bd
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;
19
20/**
21 * VehicleSeat is an abstraction for a seat in a car. Some car APIs like
22 * {@link android.car.hardware.hvac.CarHvacProperty} may provide control per seat and
23 * values defined here should be used to distinguish different seats.
24 * @hide
25 */
26@SystemApi
27public class VehicleSeat {
28    public static final int SEAT_DRIVER_LHD = 0x0001;
29    public static final int SEAT_DRIVER_RHD = 0x0002;
30    public static final int SEAT_ROW_1_PASSENGER_LEFT = 0x0010;
31    public static final int SEAT_ROW_1_PASSENGER_CENTER = 0x0020;
32    public static final int SEAT_ROW_1_PASSENGER_RIGHT = 0x0040;
33    public static final int SEAT_ROW_2_PASSENGER_LEFT = 0x0100;
34    public static final int SEAT_ROW_2_PASSENGER_CENTER = 0x0200;
35    public static final int SEAT_ROW_2_PASSENGER_RIGHT = 0x0400;
36    public static final int SEAT_ROW_3_PASSENGER_LEFT = 0x1000;
37    public static final int SEAT_ROW_3_PASSENGER_CENTER = 0x2000;
38    public static final int SEAT_ROW_3_PASSENGER_RIGHT = 0x4000;
39}
40