Jaa


ActivationSignalDetectionConfiguration.SetEnabledAsync(Boolean) Method

Definition

Asynchronously enables or disables the configuration in an application-level manner, independent of system-level settings. The configuration must be both allowed and enabled for its associated ActivationSignalDetector.

public:
 virtual IAsyncAction ^ SetEnabledAsync(bool value) = SetEnabledAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetEnabledAsync(bool const& value);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetEnabledAsync(bool value);
function setEnabledAsync(value)
Public Function SetEnabledAsync (value As Boolean) As IAsyncAction

Parameters

value
Boolean

bool

True, if enabled. Otherwise, false.

Returns

Returns an IAsyncAction object that is used to control the asynchronous operation.

Attributes

Remarks

Configuration might not be active even if configuration is enabled successfully. For configuration to be active, all necessary resources must be available and configuration permissions must be granted by the user in Settings.

Applies to

See also