示例#1
0
 public static void SwiperDidStartMSR(this ICCCSwiperDelegate This, CCCSwiper swiper)
 {
     if (swiper == null)
     {
         throw new ArgumentNullException("swiper");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("swiperDidStartMSR:"), swiper.Handle);
 }
示例#2
0
 public static void Swiper(this ICCCSwiperDelegate This, CCCSwiper swiper, CCCSwiperBatteryStatus status)
 {
     if (swiper == null)
     {
         throw new ArgumentNullException("swiper");
     }
     if (IntPtr.Size == 8)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_Int64(This.Handle, Selector.GetHandle("swiper:batteryLevelStatusHasChanged:"), swiper.Handle, (Int64)status);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int(This.Handle, Selector.GetHandle("swiper:batteryLevelStatusHasChanged:"), swiper.Handle, (int)status);
     }
 }
示例#3
0
        public unsafe void Swiper(CCCSwiper swiper, NSError error, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDAction))] global::System.Action completion)
        {
            if (swiper == null)
            {
                throw new ArgumentNullException("swiper");
            }
            if (error == null)
            {
                throw new ArgumentNullException("error");
            }
            if (completion == null)
            {
                throw new ArgumentNullException("completion");
            }
            BlockLiteral *block_ptr_completion;
            BlockLiteral  block_completion;

            block_completion     = new BlockLiteral();
            block_ptr_completion = &block_completion;
            block_completion.SetupBlockUnsafe(Trampolines.SDAction.Handler, completion);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("swiper:didFailWithError:completion:"), swiper.Handle, error.Handle, (IntPtr)block_ptr_completion);
            block_ptr_completion->CleanupBlock();
        }
示例#4
0
 public virtual void SwiperDidStartMSR(CCCSwiper swiper)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
示例#5
0
 public virtual void Swiper(CCCSwiper swiper, CCCSwiperBatteryStatus status)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
示例#6
0
 public virtual void Swiper(CCCSwiper swiper, CCCSwiperConnectionState state)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
示例#7
0
 public unsafe abstract void Swiper(CCCSwiper swiper, NSError error, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDAction))] global::System.Action completion);