共用方式為


MediaCaptureFocusChangedEventArgs 類別

定義

提供 FocusChanged 事件的資料。

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

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
backgroundMediaRecording

備註

處理 MediaCapture.FocusChanged 事件,以取得這個類別的實例。

屬性

FocusState

取得擷取裝置目前的焦點狀態。

適用於