package cn.yyxx.commsdk.base.entity;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author #Suyghur.
 * Created on 2021/12/25
 */
@Retention(RetentionPolicy.SOURCE)
public @interface Function {
    String ATTACH_BASE_CONTEXT = "attachBaseContext";
    String INIT_APPLICATION = "initApplication";
    String INIT_AGREEMENT = "initAgreement";
    String INITIALIZE = "initialize";
    String SET_LOGOUT_LISTENER  = "setLogoutListener";
    String INITIALIZE_SUCCESS = "initializeSuccess";
    String LOGIN = "login";
    String LOGOUT = "logout";
    String GET_ORDER_INFO = "getOrderInfo";
    String CHARGE = "charge";
    String GET_CHANNEL_ORDER_EXT = "getChannelOrderExt";
    String UPLOAD_ROLE_INFO = "uploadRoleInfo";

    String HAS_EXIT_VIEW = "hasExitView";
    String OPEN_EXIT_VIEW = "openExitView";
    String REPORT_GAME_EVENT = "reportGameEvent";
    String ON_CREATE = "onCreate";
    String ON_START = "onStart";
    String ON_RESUME = "onResume";
    String ON_RESTART = "onRestart";
    String ON_PAUSE = "onPause";
    String ON_STOP = "onStop";
    String ON_DESTROY = "onDestroy";
    String ON_NEW_INTENT = "onNewIntent";
    String ON_ACTIVITY_RESULT = "onActivityResult";
    String ON_CONFIGURATION_CHANGED = "onConfigurationChanged";
    String ON_REQUEST_PERMISSIONS_RESULT = "onRequestPermissionsResult";
    String ON_WINDOW_FOCUS_CHANGED = "onWindowFocusChanged";


    String REQUEST_PERMISSION = "requestPermission";
}
