ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Video functions
  • Operating mode in Android
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
VideoRequestPermission (Function)
In french: VidéoDemandePermission
Requests permission to use the device's camera.
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.
  • From Android 6.0 or later, calling this function may trigger a dialog box asking the user to allow the application to use the camera of the device. 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: wd290android.aar
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help