All Products
Search
Document Center

SuperApp:ServiceCallback (for WindVane)

Last Updated:Oct 25, 2024

The result callback class for adding miniapps to favorites. This API is applicable only to WindVane miniapps.

public interface ServiceCallback<T>

onFinish

public void onFinish(Result<T> result)

The callback function that is invoked when a miniapp is added to favorites.

Parameters

result

Result: the callback data.