androidx.media3.common.util
Interfaces
BackgroundThreadStateHandler.StateChangeListener | An interface to handle changes to the state on the foreground thread. |
BitmapLoader | Loads images. |
Clock | An interface through which system clocks can be read and |
Consumer | Represents an operation that accepts a single input argument and returns no result. |
EGLSurfaceTexture.TextureImageListener | Listener to be called when the texture image on |
HandlerWrapper | An interface to call through to a |
HandlerWrapper.Message | A message obtained from the handler. |
ListenerSet.Event | An event sent to a listener. |
ListenerSet.IterationFinishedEvent | An event sent to a listener when all other events sent during one |
Log.Logger | Interface for a logger that can output messages with a tag. |
NetworkTypeObserver.Listener | A listener for network type changes. |
TimestampConsumer | A consumer for long timestamp values. |
TimestampIterator | A primitive long iterator used for generating sequences of timestamps. |
Classes
Assertions | Provides methods for asserting the truth of expressions and properties. |
AtomicFile | A helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed. |
BackgroundExecutor | A utility class to obtain an |
BackgroundThreadStateHandler | Helper class to handle state updates on a background thread while maintaining a placeholder state on the foreground thread. |
BundleCollectionUtil | Utilities for converting collections to and from |
CodecSpecificDataUtil | Provides utilities for handling various types of codec-specific data. |
ColorParser | Parser for color expressions found in styling formats, e.g. TTML and CSS. |
ConditionVariable | An interruptible condition variable. |
ConstantRateTimestampIterator | A |
CopyOnWriteMultiset | An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements. |
EGLSurfaceTexture | Generates a |
GlProgram | Represents a GLSL shader program. |
GlRect | Represents a rectangle by the coordinates of its 4 edges (left, bottom, right, top). |
GlUtil | OpenGL ES utilities. |
LibraryLoader | Configurable loader for native libraries. |
ListenerSet | A set of listeners. |
Log | Wrapper around |
LongArray | An append-only, auto-growing |
LongArrayQueue | Array-based unbounded queue for long primitives with amortized O(1) add and remove. |
MediaFormatUtil | Helper class containing utility methods for managing |
NetworkTypeObserver | Observer for network type changes. |
NotificationUtil | Utility methods for displaying |
ParsableBitArray | Wraps a byte array, providing methods that allow it to be read as a bitstream. |
ParsableByteArray | Wraps a byte array, providing a set of methods for parsing data from it. |
RepeatModeUtil | Util class for repeat mode handling. |
RunnableFutureTask | A |
Size | Immutable class for describing width and height dimensions in pixels. |
SpeedProviderUtil | Utilities for |
SystemClock | The standard implementation of |
TimedValueQueue | A utility class to keep a queue of values with timestamps. |
TimestampAdjuster | Adjusts and offsets sample timestamps. |
TraceUtil | Calls through to |
UriUtil | Utility methods for manipulating URIs. |
Util | Miscellaneous utility methods. |
XmlPullParserUtil |
|
Exceptions
GlUtil.GlException | Thrown when an OpenGL error occurs. |
Annotations
EGLSurfaceTexture.SecureMode | Secure mode to be used by the EGL surface and context. |
Log.LogLevel | Log level for ExoPlayer logcat logging. |
NonNullApi | Annotation to declare all type usages in the annotated instance as |
NotificationUtil.Importance | Notification channel importance levels. |
NullableType | Annotation for specifying a nullable type. |
RepeatModeUtil.RepeatToggleModes | Set of repeat toggle modes. |
UnknownNull | Annotation for specifying unknown nullness. |
UnstableApi | Signifies that a public API (class, method or field) is subject to incompatible changes, or even removal, in a future release. |