最終更新:2017-03-07 (火) 04:59:52 (2610d)
android.hardware.camera2
Top / android.hardware.camera2
http://developer.android.com/reference/android/hardware/camera2/package-summary.html
ドキュメント
- https://developer.android.com/guide/topics/media/camera.html
- https://medium.com/google-developers/detecting-camera-features-with-camera2-61675bb7d1bf#.22kjblt45
概要
- Android/APIレベル21(Android 5.0)で追加
- Android 4.4の隠しAPIだった
- The android.hardware.camera2 package provides an interface to individual camera devices connected to an Android device. It replaces the deprecated Camera class.
表示のターゲット
- A target Surface can be obtained from a variety of classes, including SurfaceView, SurfaceTexture via Surface(SurfaceTexture), MediaCodec?, MediaRecorder?, Allocation, and ImageReader.
- Generally, camera preview images are sent to SurfaceView or TextureView (via its SurfaceTexture).
スライド
下位パッケージ
- android.hardware.camera2.utils?
クラス
- android.hardware.camera2.CameraCaptureSession
- android.hardware.camera2.CameraCharacteristics
- android.hardware.camera2.CameraCharacteristics.Key?
- android.hardware.camera2.CameraConstrainedHighSpeedCaptureSession
- android.hardware.camera2.CameraDevice
- android.hardware.camera2.CameraDevice.StateCallback?
- android.hardware.camera2.CameraManager
- android.hardware.camera2.CameraMetadata
- android.hardware.camera2.CaptureFailure?
- android.hardware.camera2.CaptureRequest
- android.hardware.camera2.CaptureRequest.Builder?
- android.hardware.camera2.CaptureRequest.Key?
- android.hardware.camera2.CaptureResult
- android.hardware.camera2.CaptureResult.Key?
- android.hardware.camera2.DngCreator
- android.hardware.camera2.TotalCaptureResult
メモ
- android.hardware.camera2.Face?
- android.hardware.camera2.ICameraDeviceCallbacks?
- android.hardware.camera2.ICameraDeviceUser?
- android.hardware.camera2.Rational?
- android.hardware.camera2.Size?
例外
- android.hardware.camera2.CameraAccessException?