Share via


HotspotAuthenticationContext.TriggerAttentionRequired(String, String) Method

Definition

Called by a background task handler to launch the foreground application when there is an authentication attempt to complete.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

Windows will launch the specified application.

public:
 virtual void TriggerAttentionRequired(Platform::String ^ packageRelativeApplicationId, Platform::String ^ applicationParameters) = TriggerAttentionRequired;
void TriggerAttentionRequired(winrt::hstring const& packageRelativeApplicationId, winrt::hstring const& applicationParameters);
public void TriggerAttentionRequired(string packageRelativeApplicationId, string applicationParameters);
function triggerAttentionRequired(packageRelativeApplicationId, applicationParameters)
Public Sub TriggerAttentionRequired (packageRelativeApplicationId As String, applicationParameters As String)

Parameters

packageRelativeApplicationId
String

Platform::String

winrt::hstring

The foreground application ID within its application package. The application must belong to the same package as the background task handler.

applicationParameters
String

Platform::String

winrt::hstring

Optional command line parameters that are passed to the application at launch.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to