Google is committed to advancing racial equity for Black communities. See how.

CarOccupantZoneManager.OccupantZoneConfigChangeListener

public static interface CarOccupantZoneManager.OccupantZoneConfigChangeListener

android.car.CarOccupantZoneManager.OccupantZoneConfigChangeListener


Listener to monitor any Occupant Zone configuration change. The configuration change can involve some displays removed or new displays added. Also it can happen when assigned user for any zone changes.

Summary

Public methods

abstract void onOccupantZoneConfigChanged(int changeFlags)

Configuration for occupant zones has changed.

Public methods

onOccupantZoneConfigChanged

public abstract void onOccupantZoneConfigChanged (int changeFlags)

Configuration for occupant zones has changed. Apps should re-check all occupant zone configs. This can be caused by events like user switching and display addition / removal.

Parameters
changeFlags int: Reason for the zone change. Value is either 0 or a combination of CarOccupantZoneManager.ZONE_CONFIG_CHANGE_FLAG_DISPLAY, CarOccupantZoneManager.ZONE_CONFIG_CHANGE_FLAG_USER, and CarOccupantZoneManager.ZONE_CONFIG_CHANGE_FLAG_AUDIO