Пример #1
0
 public static global::Android.Gms.Maps.Model.BitmapDescriptor FromBitmap(global::Android.Graphics.Bitmap p0)
 {
     if (id_fromBitmap_Landroid_graphics_Bitmap_ == IntPtr.Zero)
     {
         id_fromBitmap_Landroid_graphics_Bitmap_ = JNIEnv.GetStaticMethodID(class_ref, "fromBitmap", "(Landroid/graphics/Bitmap;)Lcom/google/android/gms/maps/model/BitmapDescriptor;");
     }
     global::Android.Gms.Maps.Model.BitmapDescriptor __ret = global::Java.Lang.Object.GetObject <global::Android.Gms.Maps.Model.BitmapDescriptor> (JNIEnv.CallStaticObjectMethod(class_ref, id_fromBitmap_Landroid_graphics_Bitmap_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
 public global::Android.Gms.Maps.Model.GroundOverlayOptions InvokeImage(global::Android.Gms.Maps.Model.BitmapDescriptor p0)
 {
     if (id_image_Lcom_google_android_gms_maps_model_BitmapDescriptor_ == IntPtr.Zero)
     {
         id_image_Lcom_google_android_gms_maps_model_BitmapDescriptor_ = JNIEnv.GetMethodID(class_ref, "image", "(Lcom/google/android/gms/maps/model/BitmapDescriptor;)Lcom/google/android/gms/maps/model/GroundOverlayOptions;");
     }
     global::Android.Gms.Maps.Model.GroundOverlayOptions __ret = global::Java.Lang.Object.GetObject <global::Android.Gms.Maps.Model.GroundOverlayOptions> (JNIEnv.CallObjectMethod(Handle, id_image_Lcom_google_android_gms_maps_model_BitmapDescriptor_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
Пример #3
0
        public static global::Android.Gms.Maps.Model.BitmapDescriptor FromAsset(string p0)
        {
            if (id_fromAsset_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_fromAsset_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "fromAsset", "(Ljava/lang/String;)Lcom/google/android/gms/maps/model/BitmapDescriptor;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            global::Android.Gms.Maps.Model.BitmapDescriptor __ret = global::Java.Lang.Object.GetObject <global::Android.Gms.Maps.Model.BitmapDescriptor> (JNIEnv.CallStaticObjectMethod(class_ref, id_fromAsset_Ljava_lang_String_, new JValue(native_p0)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            return(__ret);
        }