NSTimer.CreateScheduledTimer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateScheduledTimer(Double, NSObject, Selector, NSObject, Boolean)
[Foundation.Export("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSTimer CreateScheduledTimer(double seconds, Foundation.NSObject target, ObjCRuntime.Selector selector, Foundation.NSObject? userInfo, bool repeats);
[<Foundation.Export("scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateScheduledTimer : double * Foundation.NSObject * ObjCRuntime.Selector * Foundation.NSObject * bool -> Foundation.NSTimer
Parameters
- seconds
- Double
- target
- NSObject
- selector
- Selector
- userInfo
- NSObject
- repeats
- Boolean
Returns
- Attributes
Applies to
CreateScheduledTimer(Double, Boolean, Action<NSTimer>)
[Foundation.Export("scheduledTimerWithTimeInterval:repeats:block:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSTimer CreateScheduledTimer(double interval, bool repeats, Action<Foundation.NSTimer> block);
[<Foundation.Export("scheduledTimerWithTimeInterval:repeats:block:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateScheduledTimer : double * bool * Action<Foundation.NSTimer> -> Foundation.NSTimer
Parameters
- interval
- Double
- repeats
- Boolean
Returns
- Attributes