Summary:
Methods
| Inherited Methods
CarNavigationStatusManager
public
final
class
CarNavigationStatusManager
extends Object
java.lang.Object | |
↳ | android.car.navigation.CarNavigationStatusManager |
API for providing navigation status for instrument cluster.
Summary
Public methods | |
---|---|
CarNavigationInstrumentCluster
|
getInstrumentClusterInfo()
Returns navigation features of instrument cluster |
void
|
sendEvent(int eventType, Bundle bundle)
Sends events from navigation app to instrument cluster. |
Inherited methods | |
---|---|
Public methods
getInstrumentClusterInfo
public CarNavigationInstrumentCluster getInstrumentClusterInfo ()
Returns navigation features of instrument cluster
Returns | |
---|---|
CarNavigationInstrumentCluster |
Throws | |
---|---|
CarNotConnectedException |
sendEvent
public void sendEvent (int eventType, Bundle bundle)
Sends events from navigation app to instrument cluster.
The event type and bundle can be populated by
ERROR(/android.support.car.navigation.CarNavigationStatusEvent)
.
Parameters | |
---|---|
eventType |
int : event type |
bundle |
Bundle : object that holds data about the event |
Throws | |
---|---|
CarNotConnectedException |
if the connection to the car service has been lost. |
Classes