static void n_OnServiceConnected_Landroid_content_ComponentName_Landroid_os_IBinder_(IntPtr jnienv, IntPtr native__this, IntPtr native_name, IntPtr native_service) { global::Com.Spotify.Android.Appremote.Internal.RemoteServiceIo __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Android.Appremote.Internal.RemoteServiceIo> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.ComponentName name = global::Java.Lang.Object.GetObject <global::Android.Content.ComponentName> (native_name, JniHandleOwnership.DoNotTransfer); global::Android.OS.IBinder service = (global::Android.OS.IBinder)global::Java.Lang.Object.GetObject <global::Android.OS.IBinder> (native_service, JniHandleOwnership.DoNotTransfer); __this.OnServiceConnected(name, service); }
public virtual unsafe void OnServiceDisconnected(global::Android.Content.ComponentName name) { const string __id = "onServiceDisconnected.(Landroid/content/ComponentName;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((name == null) ? IntPtr.Zero : ((global::Java.Lang.Object)name).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public override void OnServiceDisconnected(global::Android.Content.ComponentName name) { IServiceConnectionCallback connectionCallback = null; // mConnectionCallback.Get(); mConnectionCallback.TryGetTarget(out connectionCallback); if (connectionCallback != null) { connectionCallback.OnServiceDisconnected(); } }
public virtual unsafe void OnServiceConnected(global::Android.Content.ComponentName name, global::Android.OS.IBinder service) { const string __id = "onServiceConnected.(Landroid/content/ComponentName;Landroid/os/IBinder;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((name == null) ? IntPtr.Zero : ((global::Java.Lang.Object)name).Handle); __args [1] = new JniArgumentValue((service == null) ? IntPtr.Zero : ((global::Java.Lang.Object)service).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { global::System.GC.KeepAlive(name); global::System.GC.KeepAlive(service); } }
public override void OnCustomTabsServiceConnected ( global::Android.Content.ComponentName name, global::Android.Support.CustomTabs.CustomTabsClient client ) { IServiceConnectionCallback connectionCallback = null; //mConnectionCallback.Get(); mConnectionCallback.TryGetTarget(out connectionCallback); //.Get(); if (connectionCallback != null) { connectionCallback.OnServiceConnected(client); } }
static int n_AddIntentOptions_IIILandroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IarrayLcom_actionbarsherlock_view_MenuItem_(IntPtr jnienv, IntPtr native__this, int p0, int p1, int p2, IntPtr native_p3, IntPtr native_p4, IntPtr native_p5, int p6, IntPtr native_p7) { IMenu __this = Java.Lang.Object.GetObject <IMenu> (native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.ComponentName p3 = Java.Lang.Object.GetObject <global::Android.Content.ComponentName> (native_p3, JniHandleOwnership.DoNotTransfer); Android.Content.Intent[] p4 = (Android.Content.Intent[])JNIEnv.GetArray(native_p4, JniHandleOwnership.DoNotTransfer, typeof(Android.Content.Intent)); global::Android.Content.Intent p5 = Java.Lang.Object.GetObject <global::Android.Content.Intent> (native_p5, JniHandleOwnership.DoNotTransfer); ActionBar_Sherlock.View.IMenuItem[] p7 = (ActionBar_Sherlock.View.IMenuItem[])JNIEnv.GetArray(native_p7, JniHandleOwnership.DoNotTransfer, typeof(ActionBar_Sherlock.View.IMenuItem)); int __ret = __this.AddIntentOptions(p0, p1, p2, p3, p4, p5, p6, p7); if (p4 != null) { JNIEnv.CopyArray(p4, native_p4); } if (p7 != null) { JNIEnv.CopyArray(p7, native_p7); } return(__ret); }
public int AddIntentOptions(int p0, int p1, int p2, global::Android.Content.ComponentName p3, global::Android.Content.Intent[] p4, global::Android.Content.Intent p5, int p6, global::ActionBar_Sherlock.View.IMenuItem[] p7) { if (id_addIntentOptions_IIILandroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IarrayLcom_actionbarsherlock_view_MenuItem_ == IntPtr.Zero) { id_addIntentOptions_IIILandroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IarrayLcom_actionbarsherlock_view_MenuItem_ = JNIEnv.GetMethodID(class_ref, "addIntentOptions", "(IIILandroid/content/ComponentName;[Landroid/content/Intent;Landroid/content/Intent;I[Lcom/actionbarsherlock/view/MenuItem;)I"); } IntPtr native_p4 = JNIEnv.NewArray(p4); IntPtr native_p7 = JNIEnv.NewArray(p7); int __ret = JNIEnv.CallIntMethod(Handle, id_addIntentOptions_IIILandroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IarrayLcom_actionbarsherlock_view_MenuItem_, new JValue(p0), new JValue(p1), new JValue(p2), new JValue(p3), new JValue(native_p4), new JValue(p5), new JValue(p6), new JValue(native_p7)); if (p4 != null) { JNIEnv.CopyArray(native_p4, p4); JNIEnv.DeleteLocalRef(native_p4); } if (p7 != null) { JNIEnv.CopyArray(native_p7, p7); JNIEnv.DeleteLocalRef(native_p7); } return(__ret); }
public virtual int GetPasswordMinimumLength(global::Android.Content.ComponentName admin) /* MethodBuilder.Create */ { return(default(int)); }
public virtual void SetPasswordMinimumLength(global::Android.Content.ComponentName admin, int length) /* MethodBuilder.Create */ { }
public virtual void SetPasswordQuality(global::Android.Content.ComponentName admin, int quality) /* MethodBuilder.Create */ { }
public virtual void RemoveActiveAdmin(global::Android.Content.ComponentName who) /* MethodBuilder.Create */ { }
public virtual void SetMaximumTimeToLock(global::Android.Content.ComponentName admin, long timeMs) /* MethodBuilder.Create */ { }
public virtual int[] GetAppWidgetIds(global::Android.Content.ComponentName provider) /* MethodBuilder.Create */ { return(default(int[])); }
public virtual void BindAppWidgetId(int appWidgetId, global::Android.Content.ComponentName provider) /* MethodBuilder.Create */ { }
public virtual void UpdateAppWidget(global::Android.Content.ComponentName appWidgetId, global::Android.Widget.RemoteViews views) /* MethodBuilder.Create */ { }
public static global::Android.Speech.SpeechRecognizer CreateSpeechRecognizer(global::Android.Content.Context context, global::Android.Content.ComponentName serviceComponent) /* MethodBuilder.Create */ { return(default(global::Android.Speech.SpeechRecognizer)); }
public static global::Android.Graphics.Rect GetDefaultPaddingForWidget(global::Android.Content.Context context, global::Android.Content.ComponentName component, global::Android.Graphics.Rect padding) /* MethodBuilder.Create */ { return(default(global::Android.Graphics.Rect)); }
public virtual void SetMaximumFailedPasswordsForWipe(global::Android.Content.ComponentName admin, int num) /* MethodBuilder.Create */ { }
public virtual int GetMaximumFailedPasswordsForWipe(global::Android.Content.ComponentName admin) /* MethodBuilder.Create */ { return(default(int)); }
public bool IsDefaultServiceForAid(global::Android.Content.ComponentName componentName, string @string) /* MethodBuilder.Create */ { return(default(bool)); }
public virtual long GetMaximumTimeToLock(global::Android.Content.ComponentName admin) /* MethodBuilder.Create */ { return(default(long)); }
public bool IsDefaultServiceForCategory(global::Android.Content.ComponentName service, string category) /* MethodBuilder.Create */ { return(default(bool)); }
public unsafe AppWidgetTarget(global::Android.Content.Context p0, global::Android.Widget.RemoteViews p1, int p2, int p3, int p4, global::Android.Content.ComponentName p5) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [6]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); __args [5] = new JValue(p5); if (GetType() != typeof(AppWidgetTarget)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Landroid/widget/RemoteViews;IIILandroid/content/ComponentName;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Landroid/widget/RemoteViews;IIILandroid/content/ComponentName;)V", __args); return; } if (id_ctor_Landroid_content_Context_Landroid_widget_RemoteViews_IIILandroid_content_ComponentName_ == IntPtr.Zero) { id_ctor_Landroid_content_Context_Landroid_widget_RemoteViews_IIILandroid_content_ComponentName_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Landroid/widget/RemoteViews;IIILandroid/content/ComponentName;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Landroid_widget_RemoteViews_IIILandroid_content_ComponentName_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Landroid_widget_RemoteViews_IIILandroid_content_ComponentName_, __args); } finally { } }
public virtual bool IsAdminActive(global::Android.Content.ComponentName who) /* MethodBuilder.Create */ { return(default(bool)); }