PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
This content comes from an automatic translation.
  • Operating mode in Android
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
VideoRequestPermission (Function)
In french: VidéoDemandePermission
Requests the permission for using the video camera found on the device.
Example
IF VideoRequestPermission() = True THEN
OpenMobileWindow(WIN_Camera)
END
Syntax
<Result> = VideoRequestPermission()
<Result>: Boolean
  • True if the permission to use the video camera was granted,
  • False otherwise.
Remarks
Android

Operating mode in Android

  • If the "CAMERA" permission was not added to the list of application permissions in the generation wizard, VideoRequestPermission will return False.
  • Starting with Android 6.0 or higher, calling this function may cause a dialog box to be displayed asking the user to allow the application to use the device's camera. If the authorization is not granted by the user, this dialog box will be displayed whenever this function is called.

Equivalence

This function is equivalent to CameraRequestPermission.
Business / UI classification : UI Code
Component : wd250android.jar
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment