Skip to content

SUDRTGameConfig ​

The full interface declaration below includes parameter keys and callbacks. Obtain an instance through SUDRTGamePackageManager.

global.sud.op.runtime.core.SUDRTGameConfig

Methods ​

MethodDescription
gameId(), version(), minRuntimeVersion()Game ID, game version, and minimum Runtime version.
deviceOrientation(), showStatusBar()Device orientation and status-bar visibility.
subPackages(), plugins()Subpackage and plugin configuration Bundle arrays.
permissions(), extensions(), context()Permission, extension, and context configuration Bundles.
contextSignature(), contextSignatureVersion()Context signature and signature version.
getNetworkTimeout(type)Query network timeout configuration using GAME_CONFIG_NETWORK_TIMEOUT_* constants.
workers()Worker configuration array.

Declarations, option keys, and callbacks ​

java
public interface SUDRTGameConfig {
    String GAME_CONFIG_NETWORK_TIMEOUT_DOWNLOAD = "downloadFile";
    String GAME_CONFIG_NETWORK_TIMEOUT_UPLOAD = "uploadFile";
    String GAME_CONFIG_NETWORK_TIMEOUT_WEB_SOCKET = "connectSocket";
    String GAME_CONFIG_NETWORK_TIMEOUT_REQUEST = "request";
    String GAME_CONFIG_PLUGIN_PROVIDER = "provider";
    String GAME_CONFIG_PLUGIN_VERSION = "version";
    String GAME_CONFIG_PLUGIN_PATH = "path";

    String gameId();

    String version();

    String deviceOrientation();

    boolean showStatusBar();

    String minRuntimeVersion();

    Bundle[] subPackages();

    Bundle[] plugins();

    Bundle permissions();

    Bundle extensions();

    Bundle context();

    String contextSignature();

    String contextSignatureVersion();

    int getNetworkTimeout(@NonNull String var1);

    String[] workers();
}