SUDRTGameCoreManager
The full interface declaration below includes parameter keys and callbacks. Obtain an instance through getManager.
global.sud.op.runtime.core.SUDRTGameCoreManager
Methods
| Method | Description |
|---|---|
getCoreInfo(version) | Query information for a Core version as a Bundle. |
installCore(options, listener) | Install a Core using the KEY_CORE_* options below. Receive start, progress, and success/failure events. |
listCore(listener) | Receive the Core list through onListSuccess(Bundle[]). |
removeCore(version, listener) | Remove a Core version and receive the result through the listener. |
cancelCoreRequest() | Cancel Core management requests; cancellation is not installation success. |
Declarations, option keys, and callbacks
java
public interface SUDRTGameCoreManager {
String KEY_CORE_HASH = "rt_core_hash";
String KEY_CORE_PATH = "rt_core_path";
String KEY_CORE_REINSTALL = "rt_core_reinstall";
String KEY_CORE_DELETE_INSTALLATION_PACKAGE = "rt_core_delete_installation_package";
String KEY_CORE_VERSION = "rt_core_version";
String KEY_CORE_VERSION_DESC = "rt_core_version_desc";
void cancelCoreRequest();
Bundle getCoreInfo(String version);
void installCore(@NonNull Bundle options, @NonNull CoreInstallListener var2);
void listCore(@NonNull CoreListListener var1);
void removeCore(@NonNull String version, @NonNull CoreRemoveListener var2);
public interface CoreInstallListener {
void onInstallStart();
void onInstallProgress(float var1);
void onInstallSuccess();
void onInstallFailure(Throwable var1);
}
public interface CoreListListener {
void onListSuccess(Bundle[] var1);
void onListFailure(Throwable var1);
}
public interface CoreRemoveListener {
void onRemoveSuccess();
void onRemoveFailure(Throwable var1);
}
}