NSSharingServiceDelegate class interface
NSSharingServiceDelegate
- Implementers
Constructors
- NSSharingServiceDelegate.castFrom(ObjCObjectBase other)
-
Constructs a NSSharingServiceDelegate that points to the same underlying object as
other. -
NSSharingServiceDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSSharingServiceDelegate 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.Protocolobject for this protocol.no setter -
anchoringViewForSharingService_showRelativeToRect_preferredEdge_
→ ObjCProtocolMethod<
NSView? Function(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )> -
anchoringViewForSharingService:showRelativeToRect:preferredEdge:
final
-
sharingService:didFailToShareItems:error:
final
-
sharingService:didShareItems:
final
-
sharingService:sourceFrameOnScreenForShareItem:
final
-
sharingService:sourceWindowForShareItems:sharingContentScope:
final
-
sharingService:transitionImageForShareItem:contentRect:
final
-
sharingService:willShareItems:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSSharingServiceDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSSharingServiceDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSSharingServiceDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSSharingServiceDelegate. -
implement(
{NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → NSSharingServiceDelegate -
Builds an object that implements the NSSharingServiceDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → NSSharingServiceDelegate -
Builds an object that implements the NSSharingServiceDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{NSView? anchoringViewForSharingService_showRelativeToRect_preferredEdge_(NSSharingService, Pointer< NSRect> , Pointer<NSUInteger> )?, bool $keepIsolateAlive = true}) → NSSharingServiceDelegate -
Builds an object that implements the NSSharingServiceDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.