All Products
Search
Document Center

SuperApp:OnGetMiniAppsListener

Last Updated:Oct 25, 2024

The callback interface class for obtaining all miniapps.

public interface OnGetMiniAppsListener

onSuccess

void onSuccess(List<MiniAppInfo> miniAppInfos)

The callback function that is invoked when the miniapp list is obtained.

Parameters

miniAppInfos

List<MiniAppInfo>: the miniapp list.

onFailed

void onFailed(int errorCode)

The callback function that is invoked when the miniapp list fails to be obtained.

Parameters

errorCode

Int: the error code.