public static unsafe global::Com.Salesforce.Marketingcloud.Location.LatLon B(global::Org.Json.JSONObject p0) { if (id_b_Lorg_json_JSONObject_ == IntPtr.Zero) { id_b_Lorg_json_JSONObject_ = JNIEnv.GetStaticMethodID(class_ref, "b", "(Lorg/json/JSONObject;)Lcom/salesforce/marketingcloud/location/LatLon;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Salesforce.Marketingcloud.Location.LatLon __ret = global::Java.Lang.Object.GetObject <global::Com.Salesforce.Marketingcloud.Location.LatLon> (JNIEnv.CallStaticObjectMethod(class_ref, id_b_Lorg_json_JSONObject_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe global::Com.Salesforce.Marketingcloud.Messages.Geofence.GeofenceMessageResponse A(global::Com.Salesforce.Marketingcloud.Location.LatLon p0, int p1, global::System.Collections.Generic.IList <global::Com.Salesforce.Marketingcloud.Messages.Region> p2) { if (id_a_Lcom_salesforce_marketingcloud_location_LatLon_ILjava_util_List_ == IntPtr.Zero) { id_a_Lcom_salesforce_marketingcloud_location_LatLon_ILjava_util_List_ = JNIEnv.GetStaticMethodID(class_ref, "a", "(Lcom/salesforce/marketingcloud/location/LatLon;ILjava/util/List;)Lcom/salesforce/marketingcloud/messages/geofence/GeofenceMessageResponse;"); } IntPtr native_p2 = global::Android.Runtime.JavaList <global::Com.Salesforce.Marketingcloud.Messages.Region> .ToLocalJniHandle(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); global::Com.Salesforce.Marketingcloud.Messages.Geofence.GeofenceMessageResponse __ret = global::Java.Lang.Object.GetObject <global::Com.Salesforce.Marketingcloud.Messages.Geofence.GeofenceMessageResponse> (JNIEnv.CallStaticObjectMethod(class_ref, id_a_Lcom_salesforce_marketingcloud_location_LatLon_ILjava_util_List_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p2); } }
static double n_Longitude(IntPtr jnienv, IntPtr native__this) { global::Com.Salesforce.Marketingcloud.Location.LatLon __this = global::Java.Lang.Object.GetObject <global::Com.Salesforce.Marketingcloud.Location.LatLon> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Longitude()); }