showLoading
Show a loading indicator.
Declaration
java
void showLoading(SUDOPStateHandle handle, SUDOPShowLoadingParams params);This is a host callback on SUDOPWrappedClient. Register the implementation with registerWrappedClient. Perform the operation and report success or failure once through the SDK-supplied handle. Perform view and window operations on the Android main thread.
SUDOPShowLoadingParams
| Field | Type | Description |
|---|---|---|
title | String | Loading message |
mask | boolean | Transparent overlay that blocks touch events |
Result
Call handle.success(dataJson) on success or handle.failure(retCode, retMsg) on failure, with a nonzero error code.
No result data is required on success; call handle.success(null).
Handle type: global.sud.op.runtime.core.SUDOPStateHandle。
The parameter type is in global.sud.op.runtime.core.model.
