导航菜单

页面标题

页面副标题

Studio Go v5.35.0.277 - ForegroundService.java 源代码

正在查看: Studio Go v5.35.0.277 应用的 ForegroundService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package crc6477f08769d1f9b02f;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import java.util.ArrayList;
import mono.android.IGCUserPeer;
import mono.android.Runtime;
import mono.android.TypeManager;

public class ForegroundService extends Service implements IGCUserPeer {
    public static final String __md_methods = "n_onBind:(Landroid/content/Intent;)Landroid/os/IBinder;:GetOnBind_Landroid_content_Intent_Handler\nn_onCreate:()V:GetOnCreateHandler\nn_onStartCommand:(Landroid/content/Intent;II)I:GetOnStartCommand_Landroid_content_Intent_IIHandler\nn_onTaskRemoved:(Landroid/content/Intent;)V:GetOnTaskRemoved_Landroid_content_Intent_Handler\nn_onDestroy:()V:GetOnDestroyHandler\n";
    private ArrayList refList;

    private native IBinder n_onBind(Intent intent);

    private native void n_onCreate();

    private native void n_onDestroy();

    private native int n_onStartCommand(Intent intent, int i, int i2);

    private native void n_onTaskRemoved(Intent intent);

    static {
        Runtime.register("VertiGIS.Mobile.Platforms.Platform.ForegroundService, VertiGIS.Mobile", ForegroundService.class, __md_methods);
    }

    public ForegroundService() {
        if (getClass() == ForegroundService.class) {
            TypeManager.Activate("VertiGIS.Mobile.Platforms.Platform.ForegroundService, VertiGIS.Mobile", "", this, new Object[0]);
        }
    }

    @Override
    public IBinder onBind(Intent intent) {
        return n_onBind(intent);
    }

    @Override
    public void onCreate() {
        n_onCreate();
    }

    @Override
    public int onStartCommand(Intent intent, int i, int i2) {
        return n_onStartCommand(intent, i, i2);
    }

    @Override
    public void onTaskRemoved(Intent intent) {
        n_onTaskRemoved(intent);
    }

    @Override
    public void onDestroy() {
        n_onDestroy();
    }

    @Override
    public void monodroidAddReference(Object obj) {
        if (this.refList == null) {
            this.refList = new ArrayList();
        }
        this.refList.add(obj);
    }

    @Override
    public void monodroidClearReferences() {
        ArrayList arrayList = this.refList;
        if (arrayList != null) {
            arrayList.clear();
        }
    }
}