Google 致力于为黑人社区推动种族平等。查看具体举措
Added in API level 29

android.car.drivingstate

Annotations

CarUxRestrictions.CarUxRestrictionsInfo Value is either 0 or a combination of CarUxRestrictions.UX_RESTRICTIONS_BASELINE, CarUxRestrictions.UX_RESTRICTIONS_NO_DIALPAD, CarUxRestrictions.UX_RESTRICTIONS_NO_FILTERING, CarUxRestrictions.UX_RESTRICTIONS_LIMIT_STRING_LENGTH, CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD, CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, CarUxRestrictions.UX_RESTRICTIONS_LIMIT_CONTENT, CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP, CarUxRestrictions.UX_RESTRICTIONS_NO_TEXT_MESSAGE, and CarUxRestrictions.UX_RESTRICTIONS_NO_VOICE_TRANSCRIPTION  

Interfaces

CarUxRestrictionsManager.OnUxRestrictionsChangedListener Listener Interface for clients to implement to get updated on driving state related changes. 
ICarUxRestrictionsChangeListener Binder callback for onUxRestrictionsChanged. 

Classes

CarUxRestrictions Car UX Restrictions event. 
CarUxRestrictions.Builder Builder class for CarUxRestrictions  
CarUxRestrictionsManager API to register and get the User Experience restrictions imposed based on the car's driving state. 
ICarUxRestrictionsChangeListener.Default Default implementation for ICarUxRestrictionsChangeListener. 
ICarUxRestrictionsChangeListener.Stub Local-side IPC implementation stub class.