MediaLibraryInfo


@UnstableApi
class MediaLibraryInfo


Information about the media libraries.

Summary

Constants

const Boolean

Whether the library was compiled with Assertions checks enabled.

const String!
TAG = "AndroidXMedia3"

A tag to use when logging library information.

const Boolean

Whether the library was compiled with TraceUtil trace enabled.

const String!
VERSION = "1.5.0"

The version of the library expressed as a string, for example "1.2.3" or "1.2.0-beta01".

const Int
VERSION_INT = 1005000300

The version of the library expressed as an integer, for example 1002003300.

const String!
VERSION_SLASHY = "AndroidXMedia3/1.5.0"

The version of the library expressed as TAG + "/" + VERSION.

Public functions

synchronized java-static Unit

Registers a module to be returned in the registeredModules string.

synchronized java-static String!

Returns a string consisting of registered module names separated by ", ".

Constants

ASSERTIONS_ENABLED

const val ASSERTIONS_ENABLED = true: Boolean

Whether the library was compiled with Assertions checks enabled.

TAG

const val TAG = "AndroidXMedia3": String!

A tag to use when logging library information.

TRACE_ENABLED

const val TRACE_ENABLED = true: Boolean

Whether the library was compiled with TraceUtil trace enabled.

VERSION

const val VERSION = "1.5.0": String!

The version of the library expressed as a string, for example "1.2.3" or "1.2.0-beta01".

VERSION_INT

const val VERSION_INT = 1005000300: Int

The version of the library expressed as an integer, for example 1002003300.

Three digits are used for each of the first three components of VERSION, then a single digit represents the cycle of this version: alpha (0), beta (1), rc (2) or stable (3). Finally two digits are used for the cycle number (always 00 for stable releases).

For example "1.2.0-rc05" has the corresponding integer version 1002000205 (001-002-000-2-05), and "123.45.6" has the corresponding integer version 123045006300 (123-045-006-3-00).

VERSION_SLASHY

const val VERSION_SLASHY = "AndroidXMedia3/1.5.0": String!

The version of the library expressed as TAG + "/" + VERSION.

Public functions

registerModule

synchronized java-static fun registerModule(name: String!): Unit

Registers a module to be returned in the registeredModules string.

Parameters
name: String!

The name of the module being registered.

registeredModules

synchronized java-static fun registeredModules(): String!

Returns a string consisting of registered module names separated by ", ".