We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesGame ServiceClient APIsAppGalleryKit APIsjosJosAppsClient

com.huawei.hms.jos.JosAppsClient

The JosAppsClient class defines the init method for initializing the app and the getAppId method for obtaining the app ID.

Public Method Summary

ReturnMethod
voidinit()
Initializes an app. This method must be called when the application is started.
Task<String>getAppId()
Obtains the app ID.

Public Methods

public void init()

Initializes an app.

public Task<String> getAppId()

Obtains the app ID.

Return Values

typedescription
Task< String>App ID.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.