ConversationalAgentSession.SetSupportLockScreenActivationAsync Method
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.
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)
|