In older iOS versions, this configures a periodic handler for VoIP apps.
Syntax
[Foundation.Export("setKeepAliveTimeout:handler:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_4_0)]
public virtual
bool SetKeepAliveTimeout (
double timeout, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))]
Action handler)
Parameters
- timeout
- Maximum interval (in seconds) at which the app should be awakened to check its VoIP connection.
- handler
- Action that performs all tasks needed to maintain the VoIP network connection.
Returns
true if installed, false if not.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0