Bearbeiten

Freigeben über


NSRunLoop.AddTimer Method

Definition

Overloads

AddTimer(NSTimer, NSRunLoopMode)
AddTimer(NSTimer, NSString)

Registers the specified timer with the specified input mode.

AddTimer(NSTimer, NSRunLoopMode)

public void AddTimer (Foundation.NSTimer timer, Foundation.NSRunLoopMode forMode);
member this.AddTimer : Foundation.NSTimer * Foundation.NSRunLoopMode -> unit

Parameters

timer
NSTimer
forMode
NSRunLoopMode

The runloop to insert this into.

Applies to

AddTimer(NSTimer, NSString)

Registers the specified timer with the specified input mode.

[Foundation.Export("addTimer:forMode:")]
public virtual void AddTimer (Foundation.NSTimer timer, Foundation.NSString forMode);
abstract member AddTimer : Foundation.NSTimer * Foundation.NSString -> unit
override this.AddTimer : Foundation.NSTimer * Foundation.NSString -> unit

Parameters

timer
NSTimer
forMode
NSString

The event loop in which this event will be inserted. Use one of the "RunLoopMode" constants defined in this class.

Attributes

Applies to