AndroidContentStyle class Null safety

Key/value codes for use in MediaItem.extras and AudioServiceConfig.androidBrowsableRootExtras to influence how Android Auto will style browsable and playable media items.

Constructors

AndroidContentStyle()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

browsableHintKey → const String
The key in MediaItem.extras and AudioServiceConfig.androidBrowsableRootExtras to configure the content style for browsable items. The value can be any of the *ItemHintValue constants defined in this class.
'android.media.browse.CONTENT_STYLE_BROWSABLE_HINT'
categoryGridItemHintValue → const int
Specifies that items should be presented as grids with vector icons.
4
categoryListItemHintValue → const int
Specifies that items should be presented as lists with vector icons.
3
gridItemHintValue → const int
Specifies that items should be presented as grids.
2
listItemHintValue → const int
Specifies that items should be presented as lists.
1
playableHintKey → const String
The key in MediaItem.extras and AudioServiceConfig.androidBrowsableRootExtras to configure the content style for playable items. The value can be any of the *ItemHintValue constants defined in this class.
'android.media.browse.CONTENT_STYLE_PLAYABLE_HINT'
supportedKey → const String
Set this key to true in AudioServiceConfig.androidBrowsableRootExtras to declare that content style is supported.
'android.media.browse.CONTENT_STYLE_SUPPORTED'