AdaptiveMediaSource.AudioOnlyPlayback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating if the content streamed by the media source contains only audio.
public:
property bool AudioOnlyPlayback { bool get(); };
bool AudioOnlyPlayback();
public bool AudioOnlyPlayback { get; }
var boolean = adaptiveMediaSource.audioOnlyPlayback;
Public ReadOnly Property AudioOnlyPlayback As Boolean
Property Value
Boolean
bool
True if the content only contains audio; otherwise, false.
Remarks
Check the value of this property to determine if the media content is audio-only and adjust your UI accordingly.