مشاركة عبر


AdaptiveMediaSource.AudioOnlyPlayback Property

Definition

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.

Applies to