Qualifier and Type | Field and Description |
|---|---|
static int | TYPE_SUBSCRIBE_MANAGER_ACTIVITY 指示跳转到华为管理订阅页。在调用setType方法时使用。 |
static int | 指示跳转到华为编辑订阅页。在调用setType方法时使用。 |
Qualifier and Type | Method Name and Description |
|---|---|
int | getType() 获取跳转的页面类型。 |
String | 获取商品ID。 |
void | setType(int type) 设置跳转的页面类型。 |
void | setSubscribeProductId(String subscribeProductId) 设置商品ID。 |
Fields |
|---|
public static final int TYPE_SUBSCRIBE_MANAGER_ACTIVITY 指示跳转到华为管理订阅页。在调用setType方法时使用。 另请参阅:Constant-values |
Fields |
|---|
public static final int TYPE_SUBSCRIBE_EDIT_ACTIVITY 指示跳转到华为编辑订阅页。在调用setType方法时使用。 另请参阅:Constant-values |
Returns
Returns
Parameters
Parameters
Name | Description |
|---|---|
subscribeProductId | 已订阅的商品ID,可通过obtainOwnedPurchases获取。 说明: 只有当跳转到华为的编辑订阅页时,才需要传此字段。 |