示例#1
0
        static int n_DoSend_Landroid_content_Intent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage __this = global::Java.Lang.Object.GetObject <global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Content.Intent p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Intent> (native_p0, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.DoSend(p0);

            return(__ret);
        }
示例#2
0
 public static unsafe global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage AsInterface(global::Android.OS.IBinder p0)
 {
     if (id_asInterface_Landroid_os_IBinder_ == IntPtr.Zero)
     {
         id_asInterface_Landroid_os_IBinder_ = JNIEnv.GetStaticMethodID(class_ref, "asInterface", "(Landroid/os/IBinder;)Lcom/alibaba/sdk/android/push/channel/SendMessage;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage __ret = global::Java.Lang.Object.GetObject <global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage> (JNIEnv.CallStaticObjectMethod(class_ref, id_asInterface_Landroid_os_IBinder_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
示例#3
0
 static IntPtr n_AsBinder(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage __this = global::Java.Lang.Object.GetObject <global::Com.Alibaba.Sdk.Android.Push.Channel.ISendMessage> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.AsBinder()));
 }