NSCloudSharingServiceDelegate class interface

NSCloudSharingServiceDelegate

Implemented types

Constructors

NSCloudSharingServiceDelegate.castFrom(ObjCObjectBase other)
Constructs a NSCloudSharingServiceDelegate that points to the same underlying object as other.
NSCloudSharingServiceDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSCloudSharingServiceDelegate 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
anchoringViewForSharingService_showRelativeToRect_preferredEdge_ → ObjCProtocolMethod<NSView? Function(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)>
anchoringViewForSharingService:showRelativeToRect:preferredEdge:
final
optionsForSharingService_shareProvider_ → ObjCProtocolMethod<NSCloudKitSharingServiceOptions Function(NSSharingService, NSItemProvider)>
optionsForSharingService:shareProvider:
final
sharingService_didCompleteForItems_error_ → ObjCProtocolListenableMethod<void Function(NSSharingService, NSArray, NSError?)>
sharingService:didCompleteForItems:error:
final
sharingService_didFailToShareItems_error_ → ObjCProtocolListenableMethod<void Function(NSSharingService, NSArray, NSError)>
sharingService:didFailToShareItems:error:
final
sharingService_didSaveShare_ → ObjCProtocolListenableMethod<void Function(NSSharingService, CKShare)>
sharingService:didSaveShare:
final
sharingService_didShareItems_ → ObjCProtocolListenableMethod<void Function(NSSharingService, NSArray)>
sharingService:didShareItems:
final
sharingService_didStopSharing_ → ObjCProtocolListenableMethod<void Function(NSSharingService, CKShare)>
sharingService:didStopSharing:
final
sharingService_sourceFrameOnScreenForShareItem_ → ObjCProtocolMethod<NSRect Function(NSSharingService, ObjCObjectBase)>
sharingService:sourceFrameOnScreenForShareItem:
final
sharingService_sourceWindowForShareItems_sharingContentScope_ → ObjCProtocolMethod<NSWindow? Function(NSSharingService, NSArray, Pointer<NSInteger>)>
sharingService:sourceWindowForShareItems:sharingContentScope:
final
sharingService_transitionImageForShareItem_contentRect_ → ObjCProtocolMethod<NSImage? Function(NSSharingService, ObjCObjectBase, Pointer<NSRect>)>
sharingService:transitionImageForShareItem:contentRect:
final
sharingService_willShareItems_ → ObjCProtocolListenableMethod<void Function(NSSharingService, NSArray)>
sharingService:willShareItems:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSCloudSharingServiceDelegate protocol to an existing objc.ObjCProtocolBuilder.
override
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSCloudSharingServiceDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
override
addToBuilderAsListener(ObjCProtocolBuilder builder, {void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSCloudSharingServiceDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
override
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSCloudSharingServiceDelegate.
override
implement({void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → NSCloudSharingServiceDelegate
Builds an object that implements the NSCloudSharingServiceDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
override
implementAsBlocking({void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → NSCloudSharingServiceDelegate
Builds an object that implements the NSCloudSharingServiceDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
override
implementAsListener({void sharingService_didCompleteForItems_error_(NSSharingService, NSArray, NSError?)?, NSCloudKitSharingServiceOptions optionsForSharingService_shareProvider_(NSSharingService, NSItemProvider)?, void sharingService_didSaveShare_(NSSharingService, CKShare)?, void sharingService_didStopSharing_(NSSharingService, CKShare)?, void sharingService_willShareItems_(NSSharingService, NSArray)?, void sharingService_didFailToShareItems_error_(NSSharingService, NSArray, NSError)?, void sharingService_didShareItems_(NSSharingService, NSArray)?, NSRect sharingService_sourceFrameOnScreenForShareItem_(NSSharingService, ObjCObjectBase)?, NSImage? sharingService_transitionImageForShareItem_contentRect_(NSSharingService, ObjCObjectBase, Pointer<NSRect>)?, NSWindow? sharingService_sourceWindowForShareItems_sharingContentScope_(NSSharingService, NSArray, Pointer<NSInteger>)?, NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer<NSRect>, Pointer<NSUInteger>)?, bool $keepIsolateAlive = true}) → NSCloudSharingServiceDelegate
Builds an object that implements the NSCloudSharingServiceDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.
override