Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
org.qtproject.qt.android.multimedia.QtCamera2 Class Reference
+ Collaboration diagram for org.qtproject.qt.android.multimedia.QtCamera2:

Public Member Functions

 QtCamera2 (Context context)
 
boolean open (String cameraId)
 
void prepareCamera (int width, int height, int format, int minFps, int maxFps)
 
boolean addSurface (Surface surface)
 
boolean removeSurface (Surface surface)
 
void clearSurfaces ()
 
boolean createSession ()
 
boolean start (int template)
 
void stopAndClose ()
 
void takePhoto ()
 
void saveExifToFile (String path)
 
void zoomTo (float factor)
 
void setFlashMode (String flashMode)
 
void setTorchMode (boolean torchMode)
 

Detailed Description

Definition at line 37 of file QtCamera2.java.

Constructor & Destructor Documentation

◆ QtCamera2()

org.qtproject.qt.android.multimedia.QtCamera2.QtCamera2 ( Context context)
inline

Definition at line 192 of file QtCamera2.java.

References context, and QtVideoDeviceManager.

Member Function Documentation

◆ addSurface()

boolean org.qtproject.qt.android.multimedia.QtCamera2.addSurface ( Surface surface)
inline

Definition at line 298 of file QtCamera2.java.

◆ clearSurfaces()

void org.qtproject.qt.android.multimedia.QtCamera2.clearSurfaces ( )
inline

Definition at line 309 of file QtCamera2.java.

◆ createSession()

boolean org.qtproject.qt.android.multimedia.QtCamera2.createSession ( )
inline

Definition at line 313 of file QtCamera2.java.

◆ open()

boolean org.qtproject.qt.android.multimedia.QtCamera2.open ( String cameraId)
inline

Definition at line 216 of file QtCamera2.java.

◆ prepareCamera()

void org.qtproject.qt.android.multimedia.QtCamera2.prepareCamera ( int width,
int height,
int format,
int minFps,
int maxFps )
inline

Definition at line 267 of file QtCamera2.java.

◆ removeSurface()

boolean org.qtproject.qt.android.multimedia.QtCamera2.removeSurface ( Surface surface)
inline

Definition at line 305 of file QtCamera2.java.

◆ saveExifToFile()

void org.qtproject.qt.android.multimedia.QtCamera2.saveExifToFile ( String path)
inline

Definition at line 439 of file QtCamera2.java.

References org.qtproject.qt.android.multimedia.QtExifDataHandler.save().

+ Here is the call graph for this function:

◆ setFlashMode()

void org.qtproject.qt.android.multimedia.QtCamera2.setFlashMode ( String flashMode)
inline

Definition at line 479 of file QtCamera2.java.

References org.qtproject.qt.android.multimedia.QtVideoDeviceManager.stringToControlAEMode().

+ Here is the call graph for this function:

◆ setTorchMode()

void org.qtproject.qt.android.multimedia.QtCamera2.setTorchMode ( boolean torchMode)
inline

Definition at line 509 of file QtCamera2.java.

◆ start()

boolean org.qtproject.qt.android.multimedia.QtCamera2.start ( int template)
inline

Definition at line 326 of file QtCamera2.java.

References org.qtproject.qt.android.multimedia.QtVideoDeviceManager.getSupportedAfModes().

+ Here is the call graph for this function:

◆ stopAndClose()

void org.qtproject.qt.android.multimedia.QtCamera2.stopAndClose ( )
inline

Definition at line 367 of file QtCamera2.java.

◆ takePhoto()

void org.qtproject.qt.android.multimedia.QtCamera2.takePhoto ( )
inline

Definition at line 425 of file QtCamera2.java.

◆ zoomTo()

void org.qtproject.qt.android.multimedia.QtCamera2.zoomTo ( float factor)
inline

Definition at line 459 of file QtCamera2.java.


The documentation for this class was generated from the following file: