Udostępnij za pośrednictwem


AppBroadcastPreviewStreamVideoHeader Class

Definition

Represents metadata about an app broadcast preview stream video frame.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public ref class AppBroadcastPreviewStreamVideoHeader 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 AppBroadcastPreviewStreamVideoHeader 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 AppBroadcastPreviewStreamVideoHeader
Public NotInheritable Class AppBroadcastPreviewStreamVideoHeader
Inheritance
Object Platform::Object IInspectable AppBroadcastPreviewStreamVideoHeader
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Properties

AbsoluteTimestamp

Gets the absolute time stamp for the app broadcast preview stream video frame.

Duration

Gets the duration for the app broadcast preview stream video frame.

FrameId

Gets the frame ID for the app broadcast preview stream video frame.

RelativeTimestamp

Gets the relative time stamp for the app broadcast preview stream video frame.

Applies to