Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MyIntentService.java constructors for xambug 8428
**1ST CONST**
public MyIntentService (java.lang.String p0)
{
super (p0);
if (getClass () == MyIntentService.class)
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "System.String, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0 });
}
**2ND CONST**
public MyIntentService ()
{
super ();
if (getClass () == MyIntentService.class)
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { });
}
package scratch.myintentservice;
public class MyIntentService
extends mono.android.app.IntentService
implements
mono.android.IGCUserPeer
{
static final String __md_methods;
static {
__md_methods =
"n_onHandleIntent:(Landroid/content/Intent;)V:GetOnHandleIntent_Landroid_content_Intent_Handler\n" +
"";
mono.android.Runtime.register ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", MyIntentService.class, __md_methods);
}
public MyIntentService (java.lang.String p0)
{
super (p0);
if (getClass () == MyIntentService.class)
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "System.String, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0 });
}
public MyIntentService ()
{
super ();
if (getClass () == MyIntentService.class)
mono.android.TypeManager.Activate ("Scratch.MyIntentService.MyIntentService, Scratch.MyIntentService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { });
}
public void onHandleIntent (android.content.Intent p0)
{
n_onHandleIntent (p0);
}
private native void n_onHandleIntent (android.content.Intent p0);
java.util.ArrayList refList;
public void monodroidAddReference (java.lang.Object obj)
{
if (refList == null)
refList = new java.util.ArrayList ();
refList.add (obj);
}
public void monodroidClearReferences ()
{
if (refList != null)
refList.clear ();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment