Udostępnij za pośrednictwem


CaptureResult.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.CaptureResult.Key : string * Java.Lang.Class -> Android.Hardware.Camera2.CaptureResult.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 CaptureResult, and not need to construct their own Key objects. However, they may be useful for testing purposes and for defining custom capture result fields.

Java documentation for android.hardware.camera2.CaptureResult.Key.CaptureResult$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