CamcorderProfile.GetAll(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all encoder profiles of a camcorder profile for the given camera at the given quality level.
[Android.Runtime.Register("getAll", "(Ljava/lang/String;I)Landroid/media/EncoderProfiles;", "", ApiSince=31)]
public static Android.Media.EncoderProfiles? GetAll (string cameraId, int quality);
[<Android.Runtime.Register("getAll", "(Ljava/lang/String;I)Landroid/media/EncoderProfiles;", "", ApiSince=31)>]
static member GetAll : string * int -> Android.Media.EncoderProfiles
Parameters
- cameraId
- String
the id for the camera. Numeric camera ids from the list received by invoking
CameraManager#getCameraIdList can be used as long as they are
CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE
and not
CameraMetadata#INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL EXTERNAL.
- quality
- Int32
the target quality level for the camcorder profile.
Returns
null if there are no encoder profiles defined for the quality level for the given camera.
- Attributes
Remarks
Java documentation for android.media.CamcorderProfile.getAll(java.lang.String, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.