iOS Guides | Samples

MonoTouch.ObjCRuntime.Runtime.StartWWAN Method

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

Syntax

public static Void StartWWAN (Uri uri, Action<Exception> callback)

Parameters

uri
Uri to probe to start the WWAN connection.
callback
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.

Requirements

Namespace: MonoTouch.ObjCRuntime
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0