共用方式為


AppBroadcastCameraCaptureStateChangedEventArgs 類別

定義

提供 AppBroadcast.CameraCaptureStateChanged 事件的資料。

注意

此 API 需要無法提供給所有 Windows 應用程式的appBroadcast 和 appBroadcastSettings功能。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫此 API 會在執行時間失敗。

public ref class AppBroadcastCameraCaptureStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastCameraCaptureStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastCameraCaptureStateChangedEventArgs
Public NotInheritable Class AppBroadcastCameraCaptureStateChangedEventArgs
繼承
Object Platform::Object IInspectable AppBroadcastCameraCaptureStateChangedEventArgs
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.15063.0 引進)
API contract
Windows.Media.Capture.AppBroadcastContract (已於 v1.0 引進)
應用程式功能
appBroadcast appBroadcastSettings

屬性

ErrorCode

取得與 事件相關聯的錯誤碼。

State

取得值,這個值表示應用程式廣播相機擷取的新狀態。

適用於