ContentStyle

enum ContentStyle : Enum<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
val name: String
Link copied to clipboard
val ordinal: Int