AndroidContentStyle class

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
categoryGridItemHintValue → const int
Specifies that items should be presented as grids with vector icons.
categoryListItemHintValue → const int
Specifies that items should be presented as lists with vector icons.
gridItemHintValue → const int
Specifies that items should be presented as grids.
listItemHintValue → const int
Specifies that items should be presented as lists.
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.
supportedKey → const String
Set this key to true in AudioServiceConfig.androidBrowsableRootExtras to declare that content style is supported.