GetOrientationMode
Gets the current physical orientation mode: Portrait or Landscape.

GetDeviceOrientation
Gets the current physical device orientation angle (0, 90, 180, 270).

GetActualPhotoResolution
Gets the actual photo resolution being used (e.g., 4000x3000).

GetActualVideoResolution
Gets the actual video resolution being used (e.g., 1920x1080).

GetActualPreviewResolution
Gets the actual preview resolution being used (e.g., 1280x720).

GetActualPhotoWidth
Gets the actual photo width in pixels.

GetActualPhotoHeight
Gets the actual photo height in pixels.

GetActualVideoWidth
Gets the actual video width in pixels.

GetActualVideoHeight
Gets the actual video height in pixels.

GetActualPhotoMegapixels
Gets the actual photo resolution in megapixels.

OrientationTolerance
Tolerance in degrees to consider an orientation change (Portrait/Landscape).

PhotoResolution
Photo resolution: Max, 1080p, 720p, 480p.

VideoResolution
Video resolution: Max, 1080p, 720p, 480p.

PreviewResolution
Preview resolution: Max, 1080p, 720p, 480p.

OrientationChanged
Fires when the physical device orientation changes between Portrait and Landscape. Returns mode (Portrait, Landscape) and angle (0, 90, 180, 270).
CameraConfigured
Fires when the camera has finished configuring, providing the actual resolutions in use.
v1.2 Oct 08, 2026.
- Added
deviceOrientation (physical orientation) instead of screen rotation.
- This ensures that:
Photos are saved with the correct EXIF orientation.
- The orientation sensor must be set to Portrait so that the camera functions correctly in either of the two orientations when the device is rotated.
- Added properties to set and retrieve photo, video, and preview resolutions.
Camera.aia (111.2 KB)
joejsanz.joedevcamera.aix (40.6 KB)