GetCameraStatus
State = GetCameraStatus(CameraIndex)
 
Parameters:

    CameraIndex = The Index Identifier of the Camera that you wish to query
Returns:

    State = The current in use state of this camera (1= in use, 0 = free)
 

      The GetCameraStatus function will return the current status (TRUE (1) = Exists, False (0) = free) of camera.



FACTS:


      * none



Mini Tutorial:



      Create a camera, then read back and displays the camera status.


  
  
; Create a Camera
  CreateCamera 1
  
; Read and display this cameras status
  Print "Camera Status:"+Str$(GetCameraStatus(1))
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



This example would output.

  
  Camera Status:1
  


 
Related Info: CreateCamera | DeleteAllCameras | DeleteCamera | DrawAllCameras | DrawCamera | NewCamera :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com