bn.openSetting
▸ openSetting(): Promise
<Settings
>
description
Set up the client Mini Program setup interface, return the result of user setup. The interface only contains what the Mini Program has already requested from the user.
example
Returns
Promise
<Settings
>
#
SettingsƬ Settings: Object
Type declaration
Name | Type | Description |
---|---|---|
authSetting | AuthSettings | Result of user's permission |
#
AuthSettingsƬ AuthSettings: Object
Type declaration
Name | Type | Description |
---|---|---|
scope.camera? | boolean | camera |
scope.userLocation? | boolean | physical location |
scope.writePhotosAlbum? | boolean | add picture to photo album |