Share via


CameraAccessException Constructors

Definition

Overloads

CameraAccessException(CameraAccessErrorType)
CameraAccessException(CameraAccessErrorType, Throwable)
CameraAccessException(CameraAccessErrorType, String)
CameraAccessException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

CameraAccessException(CameraAccessErrorType, String, Throwable)

CameraAccessException(CameraAccessErrorType)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public CameraAccessException (Android.Hardware.Camera2.CameraAccessErrorType problem);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Hardware.Camera2.CameraAccessException : Android.Hardware.Camera2.CameraAccessErrorType -> Android.Hardware.Camera2.CameraAccessException

Parameters

Attributes

Remarks

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

CameraAccessException(CameraAccessErrorType, Throwable)

[Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "")]
public CameraAccessException (Android.Hardware.Camera2.CameraAccessErrorType problem, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/Throwable;)V", "")>]
new Android.Hardware.Camera2.CameraAccessException : Android.Hardware.Camera2.CameraAccessErrorType * Java.Lang.Throwable -> Android.Hardware.Camera2.CameraAccessException

Parameters

cause
Throwable
Attributes

Remarks

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

CameraAccessException(CameraAccessErrorType, String)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")]
public CameraAccessException (Android.Hardware.Camera2.CameraAccessErrorType problem, string? message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "")>]
new Android.Hardware.Camera2.CameraAccessException : Android.Hardware.Camera2.CameraAccessErrorType * string -> Android.Hardware.Camera2.CameraAccessException

Parameters

message
String
Attributes

Remarks

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

CameraAccessException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected CameraAccessException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Hardware.Camera2.CameraAccessException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Hardware.Camera2.CameraAccessException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

CameraAccessException(CameraAccessErrorType, String, Throwable)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "")]
public CameraAccessException (Android.Hardware.Camera2.CameraAccessErrorType problem, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Android.Hardware.Camera2.CameraAccessException : Android.Hardware.Camera2.CameraAccessErrorType * string * Java.Lang.Throwable -> Android.Hardware.Camera2.CameraAccessException

Parameters

message
String
cause
Throwable
Attributes

Remarks

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