Class SelectAudioTrackById
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackDescriptor
com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
com.azure.resourcemanager.mediaservices.models.SelectAudioTrackById
Select audio tracks from the input by specifying a track identifier.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
trackId()
Get the trackId property: Track identifier to select.void
validate()
Validates the instance.withChannelMapping
(ChannelMapping channelMapping) Set the channelMapping property: Optional designation for single channel audio tracks.withTrackId
(long trackId) Set the trackId property: Track identifier to select.Methods inherited from class com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
channelMapping
-
Constructor Details
-
SelectAudioTrackById
public SelectAudioTrackById()Creates an instance of SelectAudioTrackById class.
-
-
Method Details
-
trackId
public long trackId()Get the trackId property: Track identifier to select.- Returns:
- the trackId value.
-
withTrackId
Set the trackId property: Track identifier to select.- Parameters:
trackId
- the trackId value to set.- Returns:
- the SelectAudioTrackById object itself.
-
withChannelMapping
Set the channelMapping property: Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.- Overrides:
withChannelMapping
in classAudioTrackDescriptor
- Parameters:
channelMapping
- the channelMapping value to set.- Returns:
- the AudioTrackDescriptor object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAudioTrackDescriptor
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-