Runtime.StartWWAN Runtime.StartWWAN Method

Definition

Overloads

StartWWAN(Uri) StartWWAN(Uri)

This method forces the WAN network access to be woken up.

StartWWAN(Uri, Action<Exception>) StartWWAN(Uri, Action<Exception>)

This method forces the WAN network access to be woken up asynchronously.

StartWWAN(Uri) StartWWAN(Uri)

This method forces the WAN network access to be woken up.

public static void StartWWAN (Uri uri);
static member StartWWAN : Uri -> unit

Parameters

uri
Uri Uri

Uri to probe to start the WWAN connection.

Remarks

When the phone is not on WiFi, this will force the networking stack to start.

StartWWAN(Uri, Action<Exception>) StartWWAN(Uri, Action<Exception>)

This method forces the WAN network access to be woken up asynchronously.

public static void StartWWAN (Uri uri, Action<Exception> callback);
static member StartWWAN : Uri * Action<Exception> -> unit

Parameters

uri
Uri Uri

Uri to probe to start the WWAN connection.

callback
Action<Exception>

Callback that will be called when the WWAN connection has been started up. This callback will be invoked on the main thread. If there was an exception while trying to start the WWAN, it will be passed to the callback, otherwise null is passed.

Remarks

When the phone is not on WiFi, this will force the networking stack to start.

Applies to