Added in API level 29

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

Added in API level 29
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