NSMetadataQueryDelegate class interface

NSMetadataQueryDelegate

Constructors

NSMetadataQueryDelegate.castFrom(ObjCObjectBase other)
Constructs a NSMetadataQueryDelegate that points to the same underlying object as other.
NSMetadataQueryDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSMetadataQueryDelegate that wraps the given raw object pointer.

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
metadataQuery_replacementObjectForResultObject_ → ObjCProtocolMethod<ObjCObjectBase Function(NSMetadataQuery, NSMetadataItem)>
metadataQuery:replacementObjectForResultObject:
final
metadataQuery_replacementValueForAttribute_value_ → ObjCProtocolMethod<ObjCObjectBase Function(NSMetadataQuery, NSString, ObjCObjectBase)>
metadataQuery:replacementValueForAttribute:value:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {ObjCObjectBase metadataQuery_replacementObjectForResultObject_(NSMetadataQuery, NSMetadataItem)?, ObjCObjectBase metadataQuery_replacementValueForAttribute_value_(NSMetadataQuery, NSString, ObjCObjectBase)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSMetadataQueryDelegate protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSMetadataQueryDelegate.
implement({ObjCObjectBase metadataQuery_replacementObjectForResultObject_(NSMetadataQuery, NSMetadataItem)?, ObjCObjectBase metadataQuery_replacementValueForAttribute_value_(NSMetadataQuery, NSString, ObjCObjectBase)?, bool $keepIsolateAlive = true}) → NSMetadataQueryDelegate
Builds an object that implements the NSMetadataQueryDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.