MiracastReceiverSettings Class
Definition
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.
An object with configuration settings for the MiracastReceiver.
public ref class MiracastReceiverSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MiracastReceiverSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MiracastReceiverSettings
Public NotInheritable Class MiracastReceiverSettings
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Remarks
Use MiracastReceiver.GetDefaultSettings to get a MiracastReceiverSettings object with default settings filled in, and replace the default settings as desired. Use DisconnectAllAndApplySettings or DisconnectAllAndApplySettingsAsync to apply the settings.
Properties
AuthorizationMethod |
Specifies the desired authorization method for incoming Miracast connections. |
FriendlyName |
Specifies the friendly name of the MiracastReceiver. |
ModelName |
A human-readable string that specifies the model name of the Miracast Receiver app. |
ModelNumber |
A human-readable string that specifies the model number or other version information of the Miracast Receiver app. |
RequireAuthorizationFromKnownTransmitters |
Specifies if authorization should be required by Miracast Transmitters that are already known to the Miracast Receiver. |