Class AudioTrackDescriptor

java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackDescriptor
com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
Direct Known Subclasses:
SelectAudioTrackByAttribute, SelectAudioTrackById

public class AudioTrackDescriptor extends TrackDescriptor
A TrackSelection to select audio tracks.
  • Constructor Details

    • AudioTrackDescriptor

      public AudioTrackDescriptor()
      Creates an instance of AudioTrackDescriptor class.
  • Method Details

    • channelMapping

      public ChannelMapping 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

      public AudioTrackDescriptor withChannelMapping(ChannelMapping channelMapping)
      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 class TrackDescriptor
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.