Foundation.NSTimer.CreateTimer Method
Creates a timer object that can be later added to an NSRunLoop.

Syntax

[Foundation.Export("timerWithTimeInterval:target:selector:userInfo:repeats:")]
public static NSTimer CreateTimer (double seconds, NSObject target, ObjCRuntime.Selector selector, NSObject userInfo, bool repeats)

Parameters

seconds
The number of seconds between firings of the timer.
target
An object that will be invoked when the timer fires.
selector
The method that will be invoked on target.
userInfo

Custom user information.

This parameter can be null.

repeats
Whether this timer should repeat automatically (true) or will be invalidated after firing the first time (false).

Returns

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0