Jaa


ActivationSignalDetectionConfiguration.SetEnabled(Boolean) Method

Definition

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.

Important

To avoid possible concurrency issues, we recommend using SetEnabledAsync instead.

public:
 virtual void SetEnabled(bool value) = SetEnabled;
void SetEnabled(bool const& value);
public void SetEnabled(bool value);
function setEnabled(value)
Public Sub SetEnabled (value As Boolean)

Parameters

value
Boolean

bool

True, if enabled. Otherwise, false.

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