ContentStyle

Specifies a content style (a suggested presentation layout) of media items within the browse tree. Represents values for MediaBundleExtras.EXTRA_CONTENT_STYLE_BROWSABLE_HINT and MediaBundleExtras.EXTRA_CONTENT_STYLE_PLAYABLE_HINT.

Item content styles are by convention only defined at two levels:

  • Root level: ContentStyles specified in the root IviMediaItem define the default content style for items in the whole tree, where not otherwise specified.

  • Parent level: A browsable parent IviMediaItem defines the content style for all its children.

See also

Content styles in the Android documentation.

Entries

Link copied to clipboard

Specifies the corresponding items should be presented as a list.

Link copied to clipboard

Specifies the corresponding items should be presented as a grid.

Link copied to clipboard

Specifies the corresponding items should be presented as a list and are represented by a vector icon. This adds a small margin around the icons instead of filling the available area.

Link copied to clipboard

Specifies the corresponding items should be presented as a grid and are represented by a vector icon. This adds a small margin around the icons instead of filling the available area.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.