Foundation.NSTimer.CreateScheduledTimer Method
Creates a timer with the specified parameters and schedules it for execution on the current NSRunLoop in the default mode.

Syntax

[Foundation.Export("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:")]
public static NSTimer CreateScheduledTimer (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 to invoke on target.
userInfo

Custom user info for the timer.

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