|
|
|
|
WLanguage procedure called by CameraRunApp WLanguage procedure ("callback") called when taking photos or recording videos via CameraRunApp. nRecordingType is int  // Let the user choose the type of capture FI Dialog("Do you want to take a photo or record a video?", ["A photo", ... "A video"], 1, 2, dlgIconQuestion) = 1 THEN nRecordingType = viPictureCapture ELSE nRecordingType = viVideoCapture END  // Starts the application CameraRunApp(nRecordingType, CameraRunApp_Callback)  INTERNAL PROCEDURE CameraRunApp_Callback(sPath is string)  // If the return is an empty string vide (""), an error occurred IF sPath ~= "" THEN Error(ErrorInfo()) RETURN END  // Message for end of recording Info("The file was saved here: " + sPath) END
Syntax
CameraRunApp_Callback(<Path>)
<Path>: Character string Image or video save path. Business / UI classification: Neutral code Component: wd290android.aar
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|