lightbulb_outline Please take our October 2018 developer survey. Start survey

CarUxRestrictionsManager.OnUxRestrictionsChangedListener

public static interface CarUxRestrictionsManager.OnUxRestrictionsChangedListener

android.car.drivingstate.CarUxRestrictionsManager.OnUxRestrictionsChangedListener


Listener Interface for clients to implement to get updated on driving state related changes.

Summary

Public methods

abstract void onUxRestrictionsChanged(CarUxRestrictions restrictionInfo)

Called when the UX restrictions due to a car's driving state changes.

Public methods

onUxRestrictionsChanged

public abstract void onUxRestrictionsChanged (CarUxRestrictions restrictionInfo)

Called when the UX restrictions due to a car's driving state changes.

Parameters
restrictionInfo CarUxRestrictions: The new UX restriction information