Class AudioTrackDescriptor
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackDescriptor
com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
- Direct Known Subclasses:
SelectAudioTrackByAttribute
,SelectAudioTrackById
A TrackSelection to select audio tracks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the channelMapping property: Optional designation for single channel audio tracks.void
validate()
Validates the instance.withChannelMapping
(ChannelMapping channelMapping) Set the channelMapping property: Optional designation for single channel audio tracks.
-
Constructor Details
-
AudioTrackDescriptor
public AudioTrackDescriptor()Creates an instance of AudioTrackDescriptor class.
-
-
Method Details
-
channelMapping
Get the channelMapping property: Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.- Returns:
- the channelMapping value.
-
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.- Parameters:
channelMapping
- the channelMapping value to set.- Returns:
- the AudioTrackDescriptor object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackDescriptor
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-