共用方式為


MediaStreamSourceSampleRequestedEventArgs 類別

定義

提供 SampleRequested 事件的數據。

public ref class MediaStreamSourceSampleRequestedEventArgs 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 MediaStreamSourceSampleRequestedEventArgs 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 MediaStreamSourceSampleRequestedEventArgs
Public NotInheritable Class MediaStreamSourceSampleRequestedEventArgs
繼承
Object Platform::Object IInspectable MediaStreamSourceSampleRequestedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

此物件不會直接具現化,它是由 MediaStreamSource.SampleRequest 事件所建立。

如需在 UWP 應用程式中使用媒體數據流來源的範例,請參閱 MediaStreamSource 範例

屬性

Request

取得 物件,表示 MediaStreamSample 的要求。

適用於

另請參閱