| Modifier and Type | Field and Description |
|---|---|
protected Media.StreamType |
Media.streamType
The stream type (required)
|
protected Media.StreamType |
Media.MediaBuilder.streamType
The stream type (required)
|
| Modifier and Type | Method and Description |
|---|---|
Media.StreamType |
Media.getStreamType() |
Media.StreamType |
Media.MediaBuilder.streamType() |
static Media.StreamType |
Media.StreamType.typeOf(String streamType)
Parses the specified string and returns the corresponding
Media.StreamType, or null if no match could be found. |
static Media.StreamType |
Media.StreamType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media.StreamType[] |
Media.StreamType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Media.MediaBuilder |
Media.builder(String contentUrl,
String contentType,
Media.StreamType streamType)
Creates a new
Media.MediaBuilder using the specified parameters. |
Media.MediaBuilder |
Media.MediaBuilder.streamType(Media.StreamType streamType) |
| Constructor and Description |
|---|
Media(String contentId,
String contentType,
String contentUrl,
Map<String,Object> customData,
Double duration,
String entity,
Media.HlsSegmentFormat hlsSegmentFormat,
Media.HlsVideoSegmentFormat hlsVideoSegmentFormat,
Media.MediaCategory mediaCategory,
Map<String,Object> metadata,
Long startAbsoluteTime,
Media.StreamType streamType,
TextTrackStyle textTrackStyle,
List<Track> tracks)
Creates a new instance using the specified parameters.
|
MediaBuilder(String contentUrl,
String contentType,
Media.StreamType streamType)
Creates a new instance using the specified parameters.
|
MediaBuilder(String contentId,
String contentType,
String contentUrl,
Map<String,Object> customData,
Double duration,
String entity,
Media.HlsSegmentFormat hlsSegmentFormat,
Media.HlsVideoSegmentFormat hlsVideoSegmentFormat,
Media.MediaCategory mediaCategory,
Map<String,Object> metadata,
Long startAbsoluteTime,
Media.StreamType streamType,
TextTrackStyle textTrackStyle,
List<Track> tracks)
"modify()" constructor that simply copies an existing
Media
instance's fields. |
Copyright © 2022. All rights reserved.