UIAlertAction class

UIAlertAction

Available extensions

Constructors

UIAlertAction.new()
Returns a new instance of UIAlertAction constructed with the default new method.
factory
UIAlertAction.castFrom(ObjCObjectBase other)
Constructs a UIAlertAction that points to the same underlying object as other.
UIAlertAction.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a UIAlertAction that wraps the given raw object pointer.

Properties

enabled bool

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

isEnabled
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style UIAlertActionStyle

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

style
no setter
title → NSString?

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

title
no setter

Methods

autorelease() UIAlertAction

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

autorelease
init() UIAlertAction

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

init
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retain() UIAlertAction

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

retain
self$1() UIAlertAction

Available on UIAlertAction, provided by the UIAlertAction$Methods extension

self
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

actionWithTitle(NSString? title, {required UIAlertActionStyle style, ObjCBlock<Void Function(UIAlertAction)>? handler}) UIAlertAction
actionWithTitle:style:handler:
alloc() UIAlertAction
alloc
allocWithZone(Pointer<NSZone> zone) UIAlertAction
allocWithZone:
isInstance(ObjCObjectBase obj) bool
Returns whether obj is an instance of UIAlertAction.
new$() UIAlertAction
new