MediaItem.ClippingProperties


@UnstableApi
public final class MediaItem.ClippingProperties extends MediaItem.ClippingConfiguration


Summary

Constants

static final MediaItem.ClippingProperties

Inherited Constants

From androidx.media3.common.MediaItem.ClippingConfiguration
static final MediaItem.ClippingConfiguration

A clipping configuration with default values.

Inherited fields

From androidx.media3.common.MediaItem.ClippingConfiguration
final long

The end position in milliseconds.

final long

The end position in microseconds.

final boolean

Whether startPositionMs and endPositionMs are relative to the default position.

final boolean

Whether the clipping of active media periods moves with a live window.

final @IntRange(from = 0) long

The start position in milliseconds.

final @IntRange(from = 0) long

The start position in microseconds.

final boolean

Sets whether the start point is guaranteed to be a key frame.

Inherited methods

From androidx.media3.common.MediaItem.ClippingConfiguration
MediaItem.ClippingConfiguration.Builder

Returns a Builder initialized with the values of this instance.

boolean
static MediaItem.ClippingProperties

Restores a ClippingProperties from a Bundle.

int
Bundle

Constants

UNSET

public static final MediaItem.ClippingProperties UNSET