SmoothStreamingMediaElement.SmoothStreamingPlaybackMode Property

Gets or sets the Smooth Streaming playback mode to use during main content playback.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Property SmoothStreamingPlaybackMode As Nullable(Of PlaybackMode)
    Get
    Set
'Usage

Dim instance As SmoothStreamingMediaElement
Dim value As Nullable(Of PlaybackMode)

value = instance.SmoothStreamingPlaybackMode

instance.SmoothStreamingPlaybackMode = value
public Nullable<PlaybackMode> SmoothStreamingPlaybackMode { get; set; }
public:
property Nullable<PlaybackMode> SmoothStreamingPlaybackMode {
    Nullable<PlaybackMode> get ();
    void set (Nullable<PlaybackMode> value);
}
member SmoothStreamingPlaybackMode : Nullable<PlaybackMode> with get, set
function get SmoothStreamingPlaybackMode () : Nullable<PlaybackMode>
function set SmoothStreamingPlaybackMode (value : Nullable<PlaybackMode>)

Property Value

Type: System.Nullable<PlaybackMode>
A Microsoft.Web.Media.SmoothStreaming.PlaybackMode object.

Remarks

This property can be set at any time, but it will not take effect until SmoothStreamingSource is set or changed. It shows the currently selected mode for the current object represented by the SmoothStreamingSource property. If you read SmoothStreamingPlaybackMode after setting it, it will still read the old value until you set the SmoothStreamingSource property. Note that a nulla null reference (Nothing in Visual Basic) value for the SmoothStreamingPlaybackMode property is equivalent to AudioVideo.

Note

The SmoothStreamingPlaybackMode property does not support VideoOnly mode.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace