Udostępnij za pośrednictwem


AppBroadcastCameraOverlayLocation Enum

Definition

Specifies the location of the camera overlay within the broadcast 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 enum class AppBroadcastCameraOverlayLocation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastCameraOverlayLocation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastCameraOverlayLocation
var value = Windows.Media.Capture.AppBroadcastCameraOverlayLocation.topLeft
Public Enum AppBroadcastCameraOverlayLocation
Inheritance
AppBroadcastCameraOverlayLocation
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

Fields

Name Value Description
TopLeft 0

The overlay is positioned at the top left of the frame.

TopCenter 1

The overlay is positioned at the top center of the frame.

TopRight 2

The overlay is positioned at the top right of the frame.

MiddleLeft 3

The overlay is positioned at the middle left of the frame.

MiddleCenter 4

The overlay is positioned at the middle center of the frame.

MiddleRight 5

The overlay is positioned at the middle right of the frame.

BottomLeft 6

The overlay is positioned at the bottom left of the frame.

BottomCenter 7

The overlay is positioned at the bottom center of the frame.

BottomRight 8

The overlay is positioned at the bottom right of the frame.

Applies to