package

androidx.media3.common.util

Interfaces

BitmapLoaderLoads images.
ClockAn interface through which system clocks can be read and HandlerWrappers created.
Consumer<T>Represents an operation that accepts a single input argument and returns no result.
EGLSurfaceTexture.TextureImageListenerListener to be called when the texture image on SurfaceTexture has been updated.
HandlerWrapperAn interface to call through to a Handler.
HandlerWrapper.MessageA message obtained from the handler.
ListenerSet.Event<T>An event sent to a listener.
ListenerSet.IterationFinishedEvent<T>An event sent to a listener when all other events sent during one message queue iteration were handled by the listener.
Log.LoggerInterface for a logger that can output messages with a tag.
NetworkTypeObserver.ListenerA listener for network type changes.
TimestampConsumerA consumer for long timestamp values.
TimestampIteratorA primitive long iterator used for generating sequences of timestamps.

Classes

AssertionsProvides methods for asserting the truth of expressions and properties.
AtomicFileA helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.
BundleableUtilUtilities for Bundleable.
BundleCollectionUtilUtilities for converting collections to and from instances.
BundleUtilUtilities for .
CodecSpecificDataUtilProvides utilities for handling various types of codec-specific data.
ColorParserParser for color expressions found in styling formats, e.g.
ConditionVariableAn interruptible condition variable.
ConstantRateTimestampIteratorA TimestampIterator that generates monotonically increasing timestamps (in microseconds) distributed evenly over the given durationUs based on the given frameRate.
CopyOnWriteMultiset<E>An unordered collection of elements that allows duplicates, but also allows access to a set of unique elements.
EGLSurfaceTextureGenerates a SurfaceTexture using EGL/GLES functions.
GlProgramRepresents a GLSL shader program.
GlRectRepresents a rectangle by the coordinates of its 4 edges (left, bottom, right, top).
GlUtilOpenGL ES utilities.
LibraryLoaderConfigurable loader for native libraries.
ListenerSet<T>A set of listeners.
LogWrapper around which allows to set the log level and to specify a custom log output.
LongArrayAn append-only, auto-growing long[].
LongArrayQueueArray-based unbounded queue for long primitives with amortized O(1) add and remove.
MediaFormatUtilHelper class containing utility methods for managing instances.
NetworkTypeObserverObserver for network type changes.
NotificationUtilUtility methods for displaying Notifications.
ParsableBitArrayWraps a byte array, providing methods that allow it to be read as a bitstream.
ParsableByteArrayWraps a byte array, providing a set of methods for parsing data from it.
RepeatModeUtilUtil class for repeat mode handling.
RunnableFutureTask<R, E>A java.util.concurrent.RunnableFuture that supports additional uninterruptible operations to query whether execution has started and finished.
SizeImmutable class for describing width and height dimensions in pixels.
SpeedProviderUtilUtilities for SpeedProvider.
SystemClockThe standard implementation of Clock, an instance of which is available via Clock.DEFAULT.
TimedValueQueue<V>A utility class to keep a queue of values with timestamps.
TimestampAdjusterAdjusts and offsets sample timestamps.
TraceUtilCalls through to methods if MediaLibraryInfo.TRACE_ENABLED is true.
UriUtilUtility methods for manipulating URIs.
UtilMiscellaneous utility methods.
XmlPullParserUtil utility methods.

Annotation Types

EGLSurfaceTexture.SecureModeSecure mode to be used by the EGL surface and context.
Log.LogLevelLog level for ExoPlayer logcat logging.
NonNullApiAnnotation to declare all type usages in the annotated instance as , unless explicitly marked with a nullable annotation.
NotificationUtil.ImportanceNotification channel importance levels.
NullableTypeAnnotation for specifying a nullable type.
RepeatModeUtil.RepeatToggleModesSet of repeat toggle modes.
UnknownNullAnnotation for specifying unknown nullness.
UnstableApiSignifies that a public API (class, method or field) is subject to incompatible changes, or even removal, in a future release.