Bagikan melalui


MediaStreamSourceSwitchStreamsRequestedEventArgs Kelas

Definisi

Menyediakan data untuk peristiwa MediaStreamSource.SwitchStreamsRequested .

public ref class MediaStreamSourceSwitchStreamsRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSourceSwitchStreamsRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSourceSwitchStreamsRequestedEventArgs
Public NotInheritable Class MediaStreamSourceSwitchStreamsRequestedEventArgs
Warisan
Object Platform::Object IInspectable MediaStreamSourceSwitchStreamsRequestedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Objek ini tidak dibuat secara langsung, objek ini dibuat oleh peristiwa MediaStreamSource.SwitchStreamsRequested .

Lihat Sampel MediaStreamSource untuk contoh penggunaan Sumber Aliran Media di aplikasi UWP.

Properti

Request

Mendapatkan objek yang mewakili permintaan untuk mengalihkan aliran.

Berlaku untuk

Lihat juga