|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
public interface IYXAPI
易信和第三方APP最主要的通信接口,该接口为单例
方法摘要 | |
---|---|
java.lang.String |
getAppId()
获取用户申请的APPID |
android.content.Context |
getApplicationContext()
获取ApplicationContext |
boolean |
handleIntent(android.content.Intent paramIntent,
IYXAPICallbackEventHandler iYXAPIEventHandler)
易信调用第三方APP的回调函数 该接口第三方APP不用主动调用,只要在响应的activity.onCreate中调用即可 |
boolean |
isSupportCollect()
是否支持收藏 |
boolean |
isSupportOauth()
是否支持oauth授权 |
boolean |
isYXAppInstalled()
是否安装了易信app |
boolean |
registerApp()
第三方APP启动时调用此函数进行注册 |
boolean |
sendRequest(BaseReq paramBaseReq)
分享内容到易信APP |
void |
unRegisterApp()
第三方APP退出时调用此函数 |
方法详细信息 |
---|
boolean registerApp()
void unRegisterApp()
boolean isYXAppInstalled()
boolean isSupportOauth()
boolean isSupportCollect()
boolean sendRequest(BaseReq paramBaseReq)
paramBaseReq
- 请求数据
boolean handleIntent(android.content.Intent paramIntent, IYXAPICallbackEventHandler iYXAPIEventHandler)
paramIntent
- 回调内容iYXAPIEventHandler
- 回调监听对象
java.lang.String getAppId()
android.content.Context getApplicationContext()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |