Commit ff39e240 王帅

readme

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