RecommendedStreamConfigurationMap.IsOutputSupportedFor Methode

Definition

Überlädt

Name Beschreibung
IsOutputSupportedFor(Int32)

Bestimmen Sie, ob Ausgabeoberflächen mit einem bestimmten benutzerdefinierten Format übergeben CameraDevice#createCaptureSession(SessionConfiguration) createCaptureSessionwerden können.

IsOutputSupportedFor(Surface)

Ermitteln Sie, ob der surface aktuelle Zustand für die Aufnahme in eine CameraDevice#createCaptureSession(SessionConfiguration) capture session Ausgabe geeignet ist.

IsOutputSupportedFor(Int32)

Bestimmen Sie, ob Ausgabeoberflächen mit einem bestimmten benutzerdefinierten Format übergeben CameraDevice#createCaptureSession(SessionConfiguration) createCaptureSessionwerden können.

[Android.Runtime.Register("isOutputSupportedFor", "(I)Z", "", ApiSince=29)]
public bool IsOutputSupportedFor(int format);
[<Android.Runtime.Register("isOutputSupportedFor", "(I)Z", "", ApiSince=29)>]
member this.IsOutputSupportedFor : int -> bool

Parameter

format
Int32

Ein Bildformat aus einem ImageFormat oder PixelFormat

Gibt zurück

true bei Verwendung einer surface mit dieser format Wird unterstützt. CameraDevice#createCaptureSession(SessionConfiguration)

Attribute

Hinweise

Bestimmen Sie, ob Ausgabeoberflächen mit einem bestimmten benutzerdefinierten Format übergeben CameraDevice#createCaptureSession(SessionConfiguration) createCaptureSessionwerden können.

Weitere Informationen finden Sie unter StreamConfigurationMap#isOutputSupportedFor.

Java Dokumentation für android.hardware.camera2.params.RecommendedStreamConfigurationMap.isOutputSupportedFor(int).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für:

IsOutputSupportedFor(Surface)

Ermitteln Sie, ob der surface aktuelle Zustand für die Aufnahme in eine CameraDevice#createCaptureSession(SessionConfiguration) capture session Ausgabe geeignet ist.

[Android.Runtime.Register("isOutputSupportedFor", "(Landroid/view/Surface;)Z", "", ApiSince=29)]
public bool IsOutputSupportedFor(Android.Views.Surface surface);
[<Android.Runtime.Register("isOutputSupportedFor", "(Landroid/view/Surface;)Z", "", ApiSince=29)>]
member this.IsOutputSupportedFor : Android.Views.Surface -> bool

Parameter

surface
Surface

Ein Objektverweis Surface

Gibt zurück

true wenn dies unterstützt wird, false andernfalls

Attribute

Hinweise

Ermitteln Sie, ob der surface aktuelle Zustand für die Aufnahme in eine CameraDevice#createCaptureSession(SessionConfiguration) capture session Ausgabe geeignet ist.

Weitere Informationen finden Sie unter StreamConfigurationMap#isOutputSupportedFor.

Java Dokumentation für android.hardware.camera2.params.RecommendedStreamConfigurationMap.isOutputSupportedFor(android.view.Surface).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: