setPhoneAppCallback

Registers the phone app callback to receive events from Android Auto.

Called from MainActivity.onCreate() after the callback is created. If Android Auto is already connected, the callback will be notified immediately.

Parameters

callback

The callback implementation to register