Skip to main content

CameraPlugin.getPhoto()

BFChainPluginCameraPlugingetPhotoLess than 1 minute

Gets a photo from the local device.

CameraPlugin.getPhoto(options)

Parameters

Returns

A Promise that resolves to an ArrayBufferopen in new window.

Example

import { cameraPlugin } from "@plaoc/plugins";

cameraPlugin.getPhoto({})
.then(res => {
  // handle result
}) 

Platform Compatibility

Property/Method/EventAndroidiOSDesktop-DevDesktop
getPhotoX

See Also

CameraPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7