|
|
|
|
WLanguage Procedure llamada por CameraPhoto WLanguage Procedure ("callback") llamado cuando la foto se guarda a través de CameraPhoto. CameraPhoto(CAM_MyCamera, CameraPhoto_Callback) INTERNAL PROCEDURE CameraPhoto_Callback(bSuccess is boolean, PhotoPath is string) IF bSuccess = True THEN IMG_PHOTO = PhotoPath STC_PHOTO_PATH = PhotoPath MyWindow.Plane = 3 ELSE ToastDisplay("Cannot take photo." + CR + ErrorInfo()) END END
Sintaxis
CameraPhoto_Callback(<Success> , <Photo path>)
<Success>: booleano - True si la foto se ha guardado,
- False en caso contrario. En este caso, ErrorInfo devuelve los detalles del error.
<Photo path>: Cadena de caracteres Ruta de la foto que se acaba de guardar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|