Skip to content
PhotoStudioService

设置 / PhotoStudioService

PhotoStudioService Class

拍照组件

Table of contents

Methods

asyncClosePhotoStudioModule(): Promise<void> client
打开拍照组件
asyncOpenPhotoStudioModule(extraInfo?: any): Promise<boolean> client
打开拍照组件
setEnablePhotoModule(state: boolean): boolean client
设置是否开启拍照入口

Methods

asyncClosePhotoStudioModule

Static asyncClosePhotoStudioModule(): Promise<void> client

打开拍照组件

Returns

Promise<void>异步void

asyncOpenPhotoStudioModule

Static asyncOpenPhotoStudioModule(extraInfo?): Promise<boolean> client

打开拍照组件

Parameters

extraInfo? any额外的传参 default: undefined

Returns

Promise<boolean>打开结果

setEnablePhotoModule

Static setEnablePhotoModule(state): boolean client

设置是否开启拍照入口

Parameters

state boolean是否开启 default: true

Returns

boolean设置是否成功