package com.secondworld.sdk.utils; 
 | 
  
 | 
/** 
 | 
 * Unity 调用 Android 
 | 
 */ 
 | 
  
 | 
public interface CodeU2A { 
 | 
    /** 
 | 
     * 执行资源拷贝 
 | 
     */ 
 | 
    int CopyAsset = 0; 
 | 
    /** 
 | 
     * 执行开始电量改变,充电状态改变监听 
 | 
     */ 
 | 
    int BatteryListenStart = 1; 
 | 
    /** 
 | 
     * 执行停止电量改变,充电状态改变监听 
 | 
     */ 
 | 
    int BatteryListenStop = 2; 
 | 
    /** 
 | 
     * 获取唯一识别码 
 | 
     */ 
 | 
    int UniqueID = 3; 
 | 
    /** 
 | 
     * 申请在AndroidManifest文件中 
 | 
     */ 
 | 
    int RequestManifestPermissions = 4; 
 | 
    /** 
 | 
     * 单独动态申请某一个权限 
 | 
     */ 
 | 
    int RequestPermission = 5; 
 | 
    /** 
 | 
     * 重启应用 
 | 
     */ 
 | 
    int RestartApp = 6; 
 | 
    /** 
 | 
     * 拷贝文本信息 
 | 
     */ 
 | 
    int CopyContent = 7; 
 | 
    /** 
 | 
     * 打开网址 
 | 
     */ 
 | 
    int OpenWebView = 8; 
 | 
    /** 
 | 
     * SDK初始化, 完全自动初始化的流程, 完成必要逻辑后再回调回去 
 | 
     */ 
 | 
    int Init = 9; 
 | 
    /** 
 | 
     * 安装应用 
 | 
     */ 
 | 
    int InstallAPK = 10; 
 | 
    /** 
 | 
     * 外部存储根目录地址 
 | 
     */ 
 | 
    int ExteneralStorage = 11; 
 | 
    /** 
 | 
     * 拷贝游戏资源 
 | 
     */ 
 | 
    int CopyOneAsset = 12; 
 | 
  
 | 
    /** 
 | 
     * 打开应用商店地址 
 | 
     */ 
 | 
    int GoToAppStore=13; 
 | 
  
 | 
    /** 
 | 
     * 每个渠道Sdk相关 
 | 
     */ 
 | 
    int PlatformInit = 100; 
 | 
    int PlatformLogin = 101; 
 | 
    int PlatformLogout = 102; 
 | 
    int PlatformSwitchAccount = 103; 
 | 
    int PlatformPay = 104; 
 | 
    int PayFinished = 105; 
 | 
    int CreateRole = 106; 
 | 
    int RoleLogin = 107; 
 | 
    int RoleLevelUp = 108; 
 | 
    int TencentLogin = 109; 
 | 
    int ShareToFaceBook = 112; 
 | 
    int GoToReview = 113; 
 | 
  
 | 
    /** 
 | 
     * 插件 
 | 
     */ 
 | 
    public static final int AFTrackEvent = 1000; //appsflyer统计游戏事件 
 | 
  
 | 
} 
 |