diff --git a/docs/api/_sidebar.md b/docs/api/_sidebar.md index 1d659cf5a8a91a6085788616d620cab6f26d38c7..0caa91b0f354c2cfb9ffed9ed973dba0d335257e 100644 --- a/docs/api/_sidebar.md +++ b/docs/api/_sidebar.md @@ -14,6 +14,7 @@ * [退出应用](exit.md) * [获取服务提供商](provider.md) * [getPerformance](get-performance.md) + * [隐私信息授权](privacy.md) * 页面和路由 * [页面跳转](navigator.md) * [dialogPage](dialog-page.md) diff --git a/docs/api/privacy.md b/docs/api/privacy.md new file mode 100644 index 0000000000000000000000000000000000000000..47aa94a0863a44e8eac997d60056cb904268590d --- /dev/null +++ b/docs/api/privacy.md @@ -0,0 +1,61 @@ +## uni.getPrivacySetting(options) @getprivacysetting + + + + + + + + + + + + + +## uni.resetPrivacyAuthorization() @resetprivacyauthorization + + + + + + + + + + + + + +## uni.onPrivacyAuthorizationChange(callback) @onprivacyauthorizationchange + + + + + + + + + + + + + +## uni.offPrivacyAuthorizationChange(id) @offprivacyauthorizationchange + + + + + + + + + + + + + + + + + + \ No newline at end of file