Share via


AppBroadcastServices Class

Definition

Manages the state of app broadcasts.

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 AppBroadcastServices 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 AppBroadcastServices 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 AppBroadcastServices
Public NotInheritable Class AppBroadcastServices
Inheritance
Object Platform::Object IInspectable AppBroadcastServices
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 appBroadcastServices appBroadcastSettings

Properties

BroadcastLanguage

Gets or sets a string that specifies the language settings for app broadast.

BroadcastTitle

Gets or sets the title of the broadcast.

CanCapture

Gets a value indicating whether the broadcast service can capture.

CaptureTargetType

Gets or sets a value that specifies the type of capture target to be used for broadcast.

State

Gets the current state of the app broadcast services.

UserName

Gets the username used for authentication for app broadcast.

Methods

EnterBroadcastModeAsync(AppBroadcastPlugIn)

Causes the app broadcast service to enter broadcast mode with the specified app broadcast plugin.

ExitBroadcastMode(AppBroadcastExitBroadcastModeReason)

Causes the app broadcast service to exit broadcast mode with the specified reason.

PauseBroadcast()

Pauses the app broadcasting.

ResumeBroadcast()

Resumes the app broadcasting.

StartBroadcast()

Starts app broadcasting.

StartPreview(Size)

Starts the app broadcast preview.

Applies to