Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
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.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| CLASS info |
| public class StartIapActivityReq implements IMessageEntity |
| Request information of the startIapActivity API. |
| Constructor name |
StartIapActivityReq() Constructs a StartIapActivityReq object. |
| Return | Method | |
| int | TYPE_SUBSCRIBE_MANAGER_ACTIVITY | Redirects your app to the subscription management page of HUAWEI IAP. It is used when you call the setType method. |
| int | TYPE_SUBSCRIBE_EDIT_ACTIVITY | Redirects your app to the subscription editing page of HUAWEI IAP. It is used when you call the setType method. |
| int | Obtains the type of the page to be redirected to. |
String | Obtains a product ID. |
void | Sets the type of the page to be redirected to. |
void | setSubscribeProductId(String subscribeProductId) Sets the ID of a product. |
| Method |
| public int getType() |
| Obtains the type of the page to be redirected to. |
Return
| type | desc |
| int | Type of the page to be redirected to.
|
| Method |
| public String getSubscribeProductId() |
| Obtains a product ID. |
Return
| type | desc |
| String | ID of a subscription. Note: This parameter is required only for redirecting to the subscription editing page. |
| Method |
| public void setType(int type) |
| Sets the type of the page to be redirected to. |
Parameters
| Parameter name | desc |
| type | Type of the page to be redirected to.
|
| Method |
| public void setSubscribeProductId(String subscribeProductId) |
| Sets the ID of a product. |
Parameters
| Parameter name | desc |
| subscribeProductId | ID of a subscription. Note: This parameter is required only for redirecting to the subscription editing page. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.