Ejemplo n.º 1
0
 static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_dest, int native_flags)
 {
     global::Com.Bluecats.Sdk.BCCategory     __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Parcel               dest   = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native_dest, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.ParcelableWriteFlags flags  = (global::Android.OS.ParcelableWriteFlags)native_flags;
     __this.WriteToParcel(dest, flags);
 }
Ejemplo n.º 2
0
        static void n_SetName_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_value)
        {
            global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string value = JNIEnv.GetString(native_value, JniHandleOwnership.DoNotTransfer);

            __this.Name = value;
        }
Ejemplo n.º 3
0
 static void n_UpdateCategory_Lcom_bluecats_sdk_BCCategory_Lcom_bluecats_sdk_BCCategoryCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_category, IntPtr native__callback)
 {
     global::Com.Bluecats.Sdk.BCCategoryApi       __this    = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategoryApi> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.BCCategory          category  = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (native_category, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.IBCCategoryCallback @callback = (global::Com.Bluecats.Sdk.IBCCategoryCallback)global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCCategoryCallback> (native__callback, JniHandleOwnership.DoNotTransfer);
     __this.UpdateCategory(category, @callback);
 }
Ejemplo n.º 4
0
 static void n_SetCustomValues_arrayLcom_bluecats_sdk_BCCustomValue_(IntPtr jnienv, IntPtr native__this, IntPtr native_value)
 {
     global::Com.Bluecats.Sdk.BCCategory      __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.BCCustomValue[] value  = (global::Com.Bluecats.Sdk.BCCustomValue[])JNIEnv.GetArray(native_value, JniHandleOwnership.DoNotTransfer, typeof(global::Com.Bluecats.Sdk.BCCustomValue));
     __this.SetCustomValues(value);
     if (value != null)
     {
         JNIEnv.CopyArray(value, native_value);
     }
 }
        public unsafe void OnDidCreateCategory(global::Com.Bluecats.Sdk.BCCategory p0)
        {
            if (id_onDidCreateCategory_Lcom_bluecats_sdk_BCCategory_ == IntPtr.Zero)
            {
                id_onDidCreateCategory_Lcom_bluecats_sdk_BCCategory_ = JNIEnv.GetMethodID(class_ref, "onDidCreateCategory", "(Lcom/bluecats/sdk/BCCategory;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onDidCreateCategory_Lcom_bluecats_sdk_BCCategory_, __args);
        }
Ejemplo n.º 6
0
        public virtual unsafe void UpdateCategory(global::Com.Bluecats.Sdk.BCCategory category, global::Com.Bluecats.Sdk.IBCCategoryCallback @callback)
        {
            if (id_updateCategory_Lcom_bluecats_sdk_BCCategory_Lcom_bluecats_sdk_BCCategoryCallback_ == IntPtr.Zero)
            {
                id_updateCategory_Lcom_bluecats_sdk_BCCategory_Lcom_bluecats_sdk_BCCategoryCallback_ = JNIEnv.GetMethodID(class_ref, "updateCategory", "(Lcom/bluecats/sdk/BCCategory;Lcom/bluecats/sdk/BCCategoryCallback;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(category);
                __args [1] = new JValue(@callback);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_updateCategory_Lcom_bluecats_sdk_BCCategory_Lcom_bluecats_sdk_BCCategoryCallback_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "updateCategory", "(Lcom/bluecats/sdk/BCCategory;Lcom/bluecats/sdk/BCCategoryCallback;)V"), __args);
                }
            } finally {
            }
        }
Ejemplo n.º 7
0
 static IntPtr n_GetCustomValues(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.GetCustomValues()));
 }
Ejemplo n.º 8
0
 static int n_DescribeContents(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.DescribeContents());
 }
Ejemplo n.º 9
0
 static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.Name));
 }
Ejemplo n.º 10
0
 static void n_SetCategoryTypeID_I(IntPtr jnienv, IntPtr native__this, int value)
 {
     global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.CategoryTypeID = value;
 }
Ejemplo n.º 11
0
 static int n_GetCategoryTypeID(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Bluecats.Sdk.BCCategory __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.CategoryTypeID);
 }
 static void n_OnDidCreateCategory_Lcom_bluecats_sdk_BCCategory_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bluecats.Sdk.IBCTeamCallback __this = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.IBCTeamCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Bluecats.Sdk.BCCategory      p0     = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCCategory> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnDidCreateCategory(p0);
 }