optionsForSharingService_shareProvider_ property

ObjCProtocolMethod<NSCloudKitSharingServiceOptions Function(NSSharingService, NSItemProvider)> optionsForSharingService_shareProvider_
final

optionsForSharingService:shareProvider:

Implementation

static final optionsForSharingService_shareProvider_ =
    objc.ObjCProtocolMethod<
      NSCloudKitSharingServiceOptions Function(
        NSSharingService,
        objc.NSItemProvider,
      )
    >(
      _protocol_NSCloudSharingServiceDelegate,
      _sel_optionsForSharingService_shareProvider_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              NSUInteger Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1syiric)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCloudSharingServiceDelegate,
        _sel_optionsForSharingService_shareProvider_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSCloudKitSharingServiceOptions Function(
          NSSharingService,
          objc.NSItemProvider,
        )
        func,
      ) =>
          ObjCBlock_NSCloudKitSharingServiceOptions_ffiVoid_NSSharingService_NSItemProvider.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSSharingService arg1,
              objc.NSItemProvider arg2,
            ) => func(arg1, arg2),
          ),
    );