public class XingeAppSimple extends Object
| 构造器和说明 |
|---|
XingeAppSimple(String appid,
String secretKey) |
XingeAppSimple(String appid,
String secretKey,
String domainUrl) |
XingeAppSimple(String appid,
String secretKey,
String domainUrl,
Proxy proxy) |
XingeAppSimple(String appid,
String secretKey,
String domainUrl,
Proxy proxy,
boolean isSignAuth) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.json.JSONObject |
AccountAppendBind(String account,
String token)
追加绑定 账号到token
|
org.json.JSONObject |
AccountCoverBind(String account,
String token)
覆盖绑定 账号到token
绑定的同时,会清理token 上历史绑定的账号
|
org.json.JSONObject |
AccountQueryByToken(String token)
根据token 查询对应的账号信息
|
org.json.JSONObject |
AccountUnbind(String account,
String token)
解除token 和 account 之间的绑定关系
|
org.json.JSONObject |
pushAccountAndroid(String title,
String content,
String account)
android 账号单推
|
org.json.JSONObject |
pushAccountIos(String title,
String content,
String account,
String environment)
ios 账号单推
|
org.json.JSONObject |
pushAccountListAndroid(String title,
String content,
ArrayList<String> accounts)
android 账号列表推送
|
org.json.JSONObject |
pushAccountListIos(String title,
String content,
ArrayList<String> accounts,
String environment)
ios 账号列表推送
|
org.json.JSONObject |
pushAllAndroid(String title,
String content)
android 全推
|
org.json.JSONObject |
pushAllIos(String title,
String content,
String environment)
ios 全推
|
org.json.JSONObject |
pushTagAndroid(String title,
String content,
String tag)
android 标签推送
|
org.json.JSONObject |
pushTagIos(String title,
String content,
String tag,
String environment)
ios 标签推送
|
org.json.JSONObject |
pushTokenAndroid(String title,
String content,
String token)
android Token 单推
|
org.json.JSONObject |
pushTokenIos(String title,
String content,
String token,
String environment)
Ios 设备单推
|
org.json.JSONObject |
pushTokenListAndroid(String title,
String content,
ArrayList<String> tokens)
android 设备列表推送
|
org.json.JSONObject |
pushTokenListIos(String title,
String content,
ArrayList<String> tokens,
String environment)
IOS 设备列表推送
|
org.json.JSONObject |
TagAppendBind(String tag,
String token)
绑定一个标签到设备上
|
org.json.JSONObject |
TagConverBind(String tag,
String token)
覆盖标签到一个设备上
|
org.json.JSONObject |
TagUnbind(String tag,
String token)
解除标签和设备之间的绑定
|
org.json.JSONObject |
TokenQueryByAccount(String account,
int accountType)
根据账号查询对应的token
|
public org.json.JSONObject pushTokenAndroid(String title, String content, String token)
title - content - token - public org.json.JSONObject pushTokenListAndroid(String title, String content, ArrayList<String> tokens)
title - content - tokens - public org.json.JSONObject pushAccountAndroid(String title, String content, String account)
title - content - account - public org.json.JSONObject pushAccountListAndroid(String title, String content, ArrayList<String> accounts)
title - content - accounts - public org.json.JSONObject pushAllAndroid(String title, String content)
title - content - public org.json.JSONObject pushTagAndroid(String title, String content, String tag)
title - content - tag - public org.json.JSONObject pushTokenIos(String title, String content, String token, String environment)
title - content - token - environment - public org.json.JSONObject pushTokenListIos(String title, String content, ArrayList<String> tokens, String environment)
title - content - tokens - environment - public org.json.JSONObject pushAccountIos(String title, String content, String account, String environment)
title - content - account - environment - public org.json.JSONObject pushAccountListIos(String title, String content, ArrayList<String> accounts, String environment)
title - content - accounts - environment - public org.json.JSONObject pushAllIos(String title, String content, String environment)
title - content - environment - public org.json.JSONObject pushTagIos(String title, String content, String tag, String environment)
title - content - tag - environment - public org.json.JSONObject AccountAppendBind(String account, String token)
account - token - public org.json.JSONObject AccountCoverBind(String account, String token)
account - token - public org.json.JSONObject AccountUnbind(String account, String token)
account - token - public org.json.JSONObject AccountQueryByToken(String token)
token - public org.json.JSONObject TokenQueryByAccount(String account, int accountType)
account - accountType - 账号类型 缺省为0public org.json.JSONObject TagAppendBind(String tag, String token)
tag - token - public org.json.JSONObject TagConverBind(String tag, String token)
tag - token - Copyright © 2021. All Rights Reserved.