Jaa


ConversationalAgentSession.SetSupportLockScreenActivationAsync Method

Definition

Asynchronously enables or disables support for lock screen activation of the conversational agent.

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

Parameters

lockScreenActivationSupported
Boolean

bool

True, if lock screen activation is enabled. Otherwise, false.

Returns

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

Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to