Toggle navigation
Toggle navigation
This project
Loading...
Sign in
guangka
/
public_sdk_android
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
唐伟军
2020-08-27 16:42:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e2cd4d1a1cf491653afcef2abd19dea869038732
e2cd4d1a
1 parent
467c48c1
update
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
40 deletions
doc/公共SDK扩展接口接入文档.md
doc/公共SDK扩展接口接入文档.md
View file @
e2cd4d1
...
...
@@ -35,50 +35,50 @@
#### 第二步获取状态(不用获取状态的功能请跳过此步骤执行第三步)
| 接口名
| 方法名 | 参数 | 返回结果 |
|------------
--|-------------------------|------------------------------------|
---------------------------|
| 绑定账号
| getLinkedAccountStatus | Map集合,key表示绑定平台,比如谷歌就传 | "true" 表示绑定了该平台 |
|
| | google,facebook就传facebook,不确定 | "false" 表示未绑定该平台
|
|
| | 平台传other;value传""就好 |
|
|------------
--|-------------------------|------------------------------------|
---------------------------|
| 设置推送
| getPushStatus | Map集合,key表示推送类型,比如全体推送 | "true" 表示设置了该推送
|
|
| | 就传enable,夜间推送就传night,广告推送 | "false" 表示未设置该推送
|
|
| | 就传ad;value传""就好 |
|
|-----------
---|--------------------------|-------------------------------------|
--------------------------|
| 接口名
| 方法名 | 参数 | 返回结果 |
|------------
|--------------------------|------------------------------------|---
---------------------------|
| 绑定账号
| getLinkedAccountStatus | Map集合,key表示绑定平台,比如谷歌就传 | "true" 表示绑定了该平台 |
|
| | google,facebook就传facebook,不确定 | "false" 表示未绑定该平台
|
|
| | 平台传other;value传""就好 |
|
|------------
|--------------------------|------------------------------------|---
---------------------------|
| 设置推送
| getPushStatus | Map集合,key表示推送类型,比如全体推送 | "true" 表示设置了该推送
|
|
| | 就传enable,夜间推送就传night,广告推送 | "false" 表示未设置该推送
|
|
| | 就传ad;value传""就好 |
|
|-----------
|---------------------------|-------------------------------------|---
--------------------------|
#### 第三步设置功能
| 接口名 |
方法名 | 参数 | 返回状态码 |
|-----------------------|---------------------------|--------------------------------------|-----------------------|
| Facebook好友界面
| showFaceBookFriendsView | null | 无 |
| 分享到Facebook |
showShareFacebookView | null | 成功 1104 失败 1204
|
| 删除账号
| deleteMember | null | 成功 1107 失败 1207
|
| 显示公告
| showNotice | null | 无
|
| 显示cafe窗口
| showNaverCafePlug | null | 无 |
| 谷歌评论
| showGoogleComment | null | 成功 1106 失败 1206
|
| 绑定账号(绑定)
| createLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1100 失败 1200 |
|
| | google,facebook就传facebook,不确定 |
|
|
| | 平台传other;value传""就好 |
|
| 绑定账号(解绑)
| deleteLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1101 失败 1201 |
|
| | google,facebook就传facebook,不确定 |
|
|
| | 平台传other;value传""就好 |
|
| 设置推送(允许)
| setPushEnable | Map集合,key表示推送类型,比如全体推送 | 成功 1103 失败 1203
|
|
| | 就传enable,夜间推送就传night,广告推送 |
|
|
| | 就传ad;value传""就好 |
|
| 设置推送(不允许)
| setPushDisable | Map集合,key表示推送类型,比如全体推送 | 成功 1105 失败 1205
|
|
| | 就传enable,夜间推送就传night,广告推送 |
|
|
| | 就传ad;value传""就好 |
|
|-----------------------
-|----------------------------|
---------------------------------------|------------------------|
| 接口名 |
方法名 | 参数 | 返回状态码 |
|-----------------------|---------------------------|--------------------------------------
----
|-----------------------|
| Facebook好友界面
| showFaceBookFriendsView | null | 无 |
| | | | |
| 分享到Facebook |
showShareFacebookView | null | 成功 1104 失败 1204
|
| | | | |
| 删除账号
| deleteMember | null | 成功 1107 失败 1207
|
| | | | |
| 显示公告
| showNotice | null | 无
|
| | | | |
| 显示cafe窗口
| showNaverCafePlug | null | 无 |
| | | | |
| 谷歌评论
| showGoogleComment | null | 成功 1106 失败 1206
|
| | | | |
| 绑定账号(绑定)
| createLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1100 失败 1200 |
|
| | google,facebook就传facebook,不确定 |
|
|
| | 平台传other;value传""就好 |
|
| | | | |
| 绑定账号(解绑)
| deleteLinkingAccount | Map集合,key表示绑定平台,比如谷歌就传 | 成功 1101 失败 1201 |
|
| | google,facebook就传facebook,不确定 |
|
|
| | 平台传other;value传""就好 |
|
| | | | |
| 设置推送(允许)
| setPushEnable | Map集合,key表示推送类型,比如全体推送 | 成功 1103 失败 1203
|
|
| | 就传enable,夜间推送就传night,广告推送 |
|
|
| | 就传ad;value传""就好 |
|
| | | | |
| 设置推送(不允许)
| setPushDisable | Map集合,key表示推送类型,比如全体推送 | 成功 1105 失败 1205
|
|
| | 就传enable,夜间推送就传night,广告推 送 |
|
|
| | 就传ad;value传""就好 |
|
|-----------------------
|---------------------------|--
---------------------------------------|------------------------|
### 接入事例
#### 无需进行第二步以 显示公告 为例
...
...
Please
register
or
login
to post a comment