SegmentInfo.SelectStreamsAsync Method (IList<StreamInfo>, Object)
Initializes a new instance of the SegmentInfo class.
Namespace: Microsoft.Web.Media.SmoothStreaming
Assembly: Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)
Syntax
'Declaration
Public Sub SelectStreamsAsync ( _
selectedStreams As IList(Of StreamInfo), _
userState As Object _
)
'Usage
Dim instance As SegmentInfo
Dim selectedStreams As IList(Of StreamInfo)
Dim userState As Object
instance.SelectStreamsAsync(selectedStreams, _
userState)
public void SelectStreamsAsync(
IList<StreamInfo> selectedStreams,
Object userState
)
public:
void SelectStreamsAsync(
IList<StreamInfo^>^ selectedStreams,
Object^ userState
)
member SelectStreamsAsync :
selectedStreams:IList<StreamInfo> *
userState:Object -> unit
public function SelectStreamsAsync(
selectedStreams : IList<StreamInfo>,
userState : Object
)
Parameters
- selectedStreams
Type: System.Collections.Generic.IList<StreamInfo>
An IList object that contains the selected streams.
- userState
Type: System.Object
The user can pass any state information in a standard or custom type.
Remarks
Calling this method to change streams on a smooth streaming presentation with multiple video streams at the <StreamIndex> level will throw a .
Version Information
Silverlight
Supported in: 5
Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0