SmoothStreamingMediaElement.CurrentState Property
Gets or sets the current state of playback.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Property CurrentState As SmoothStreamingMediaElementState
Get
Friend Set
'Usage
Dim instance As SmoothStreamingMediaElement
Dim value As SmoothStreamingMediaElementState
value = instance.CurrentState
public SmoothStreamingMediaElementState CurrentState { get; internal set; }
public:
property SmoothStreamingMediaElementState CurrentState {
SmoothStreamingMediaElementState get ();
internal: void set (SmoothStreamingMediaElementState value);
}
member CurrentState : SmoothStreamingMediaElementState with get, internal set
function get CurrentState () : SmoothStreamingMediaElementState
internal function set CurrentState (value : SmoothStreamingMediaElementState)
Property Value
Type: Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElementState
A state object.
Remarks
State does not change to Stopped when the manifest/license manager URL is invalid; instead, it remains in Opening state.
A media clip can be scheduled for play when the SmoothStreamingMediaElement object is in a Closed state by using the ScheduleClip() method with the ManifestReady event.
For more information and for examples, see Microsoft Smooth Streaming Client 2.0.
Version Information
Silverlight
Supported in: 5
Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0