Partager via


CameraCharacteristics.Key(String, Class) Constructor

Definition

Construct a new Key with a given name and type.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Class;)V", "", ApiSince=29)]
public Key (string name, Java.Lang.Class type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Class;)V", "", ApiSince=29)>]
new Android.Hardware.Camera2.CameraCharacteristics.Key : string * Java.Lang.Class -> Android.Hardware.Camera2.CameraCharacteristics.Key

Parameters

name
String
type
Class
Attributes

Remarks

Construct a new Key with a given name and type.

Normally, applications should use the existing Key definitions in CameraCharacteristics, and not need to construct their own Key objects. However, they may be useful for testing purposes and for defining custom camera characteristics.

Java documentation for android.hardware.camera2.CameraCharacteristics.Key.CameraCharacteristics$Key(java.lang.String, java.lang.Class<T>).

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.

Applies to