CameraPlugin.getPhoto()

BFChainAugust 11, 2023
  • Plugin
  • CameraPlugin
  • getPhoto
Less 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/plugin";

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

Platform Compatibility

Property/Method/EventAndroidiOSDesktop-DevDesktop
getPhotoX

See Also

CameraPlugin

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