BaseIviApplication
The base Android application for the IVI system. Should be extended for the product, to configure it based on customer needs.
Note: The Android application class is initiated in each process of the application.
Properties
The dynamic configuration provider as created by createDynamicConfigurationProviders.
If true
trace event forwarding is enabled. If false
, trace event forwarding is disabled. See TraceEventForwarder for details. Even if trace event forwarding is enabled, trace events are only forwarded if the TraceSinkService has at least one drain.
Provides the status of the IVI service hosts.
The static configuration provider as created by createStaticConfigurationProviders.
Inherited properties
The application of this
, casted to IviApplication. This cast is always assumed to succeed as TomTom Digital Cockpit requires the product's application to implement the IviApplication interface.
Functions
Checks that all LifecycleOwners provided to the <Service>.createApi()
methods, within this process, are stopped or destroyed. Throws IllegalStateException if check fails.
Finalizes the IVI application reset sequence. It must be called after prepareReset.
Returns the IviServiceProvider that can only provide global IVI service API instances.
Returns the IviServiceProvider that is bound to the given iviInstanceId. The returned IviServiceProvider can provide IVI service API instances that are bound to the given IviInstanceId, and global IVI service API instances.
Note: Never called in production. See Application.onTerminate.
Initiates the IVI application reset sequence. Must be called before finalizeReset to complete the reset sequence. In-between there can be optional waiting for checkIsIdle to succeed.