AppBroadcastPreview Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides status information and access to the app broadcast preview.
Poznámka
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 AppBroadcastPreview 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 AppBroadcastPreview 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 AppBroadcastPreview
Public NotInheritable Class AppBroadcastPreview
- Inheritance
- Attributes
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
|
This API may throw an error if the background service has shut down due to idle timeout.
Error |
Gets the error code associated with the app broadcast preview. |
Preview |
Gets a value that indicates the state of the app broadcast preview. |
Preview |
Gets a stream reader for the app broadcast preview. |
Stop |
Stop the app broadcast preview. |
Preview |
Occurs when the state of the app broadcast preview changes. |