Commit ff39e240 王帅

readme

1 个父辈 788b6a52
......@@ -124,21 +124,21 @@ public class AASDKDemoScript: MonoBehaviour
}
```
# Optional Method
1. Get the status of user authencation
0=>No verified
1=>Has been verified
2=>Being verified
3=>Verified failure
#### 1. Get the status of user authencation
0=>No verified
1=>Has been verified
2=>Being verified
3=>Verified failure
`antiAddictionSDK.IsAuthenticated()`
`antiAddictionSDK.IsAuthenticated()`
2. Check user is adult:
1: adult
2: nonage
`antiAddictionSDK.AgeGroupOfCurrentUser()`
#### 2. Check user is adult:
1: adult
2: nonage
`antiAddictionSDK.AgeGroupOfCurrentUser()`
3. remaining time for minors (s):
`antiAddictionSDK.LeftTimeOfCurrentUser()`
#### 3. remaining time for minors (s):
`antiAddictionSDK.LeftTimeOfCurrentUser()`
# In-App Purchase check
Because the amount of money minors can spend on the game is limited, they need to check before making in-app purchases.
......
......@@ -120,21 +120,21 @@ public class AASDKDemoScript: MonoBehaviour
}
```
# 其他方法
1. 当前用户实名认证状态:
0=>未验证
1=>验证通过
2=>正在验证
3=>认证失败
#### 1. 当前用户实名认证状态:
0=>未验证
1=>验证通过
2=>正在验证
3=>认证失败
`antiAddictionSDK.IsAuthenticated()`
`antiAddictionSDK.IsAuthenticated()`
2. 当前用户认证结果:
1=>成年
2=>未成年
`antiAddictionSDK.AgeGroupOfCurrentUser()`
#### 2. 当前用户认证结果:
1=>成年
2=>未成年
`antiAddictionSDK.AgeGroupOfCurrentUser()`
3. 剩余可玩时长(秒):
`antiAddictionSDK.LeftTimeOfCurrentUser()`
#### 3. 剩余可玩时长(秒):
`antiAddictionSDK.LeftTimeOfCurrentUser()`
# 游戏内支付校验
因为未成年人的游戏付费额度受限,所以在进行内购支付前需要检测
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!