RootHintsPopulator


@ExperimentalCarApi
class RootHintsPopulator


Populates Root hints Bundle for MediaBrowserServiceCompat.BrowserRoot returned in onGetRoot.

RootExtras can be updated after onGetRoot with a call to setExtras.

See also
onGetRoot
setExtras

Summary

Public constructors

Public functions

RootHintsPopulator
setAnalyticsOptIn(analyticsOptIn: Boolean)

Sets analytics opt in state.

RootHintsPopulator
setShareOem(shareOem: Boolean)

Sets flag to share diagnostic analytics with OEM

RootHintsPopulator
setSharePlatform(sharePlatform: Boolean)

Sets flag to share diagnostic analytics with the platform

Public constructors

RootHintsPopulator

Added in 1.7.0-beta03
RootHintsPopulator(rootHints: Bundle)

Public functions

setAnalyticsOptIn

Added in 1.7.0-beta03
fun setAnalyticsOptIn(analyticsOptIn: Boolean): RootHintsPopulator

Sets analytics opt in state.

Parameters
analyticsOptIn: Boolean

boolean value indicating opt-in to receive analytics.

setShareOem

Added in 1.7.0-beta03
fun setShareOem(shareOem: Boolean): RootHintsPopulator

Sets flag to share diagnostic analytics with OEM

Parameters
shareOem: Boolean

boolean value indicating opt-in to share diagnostic analytics with OEM.

setSharePlatform

Added in 1.7.0-beta03
fun setSharePlatform(sharePlatform: Boolean): RootHintsPopulator

Sets flag to share diagnostic analytics with the platform

Parameters
sharePlatform: Boolean

boolean value indicating opt-in to share diagnostic analytics with the platform.