|
|
|
|
WLanguage Procedure llamado por CameraRunApp WLenguaje Procedure ("callback") llamado al hacer fotos o grabar vídeos a través de 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
Sintaxis
CameraRunApp_Callback(<Path>)
<Path>: Cadena de caracteres Image o el video guarda ruta. Clasificación Lógica de negocio / UI: Código neutro Componente: wd290android.aar
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|