Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

CarAppFocusManager.OnAppFocusChangedListener

public static interface CarAppFocusManager.OnAppFocusChangedListener

android.car.CarAppFocusManager.OnAppFocusChangedListener


Listener to get notification for app getting information on application type status changes.

Summary

Public methods

abstract void onAppFocusChanged(int appType, boolean active)

Application focus has changed.

Public methods

onAppFocusChanged

public abstract void onAppFocusChanged (int appType, 
                boolean active)

Application focus has changed. Note that CarAppFocusManager instance causing the change will not get this notification.