StreamConfigurationMap 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于存储可用流的 CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP configurations
不可变类,用于设置 android.view.Surface Surfaces
用于创建 android.hardware.camera2.CameraCaptureSession capture session
with android.hardware.camera2.CameraDevice#createCaptureSession
的流。
[Android.Runtime.Register("android/hardware/camera2/params/StreamConfigurationMap", DoNotGenerateAcw=true)]
public sealed class StreamConfigurationMap : Java.Lang.Object
[<Android.Runtime.Register("android/hardware/camera2/params/StreamConfigurationMap", DoNotGenerateAcw=true)>]
type StreamConfigurationMap = class
inherit Object
- 继承
- 属性
注解
用于存储可用流的 CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP configurations
不可变类,用于设置 android.view.Surface Surfaces
用于创建 android.hardware.camera2.CameraCaptureSession capture session
with android.hardware.camera2.CameraDevice#createCaptureSession
的流。 <-- TODO:指向输入流配置的链接 ->
这是相机设备支持的所有 <--输入/->输出格式(以及相应格式的大小)的权威列表。
这还包含每个格式/大小组合的最小帧持续时间和停止持续时间,可用于在提交多个捕获时计算有效帧速率。
可以使用CameraCharacteristics
键和CameraCharacteristics#get
方法获取CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP
此对象的实例。
<code>{@code
CameraCharacteristics characteristics = cameraManager.getCameraCharacteristics(cameraId);
StreamConfigurationMap configs = characteristics.get(
CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP);
}</code>
适用于 . 的 android.hardware.camera2.params.StreamConfigurationMap
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
属性
Class |
返回此 |
Handle |
基础 Android 实例的句柄。 (继承自 Object) |
JniIdentityHashCode |
用于存储可用流的 |
JniPeerMembers |
用于存储可用流的 |
PeerReference |
用于存储可用流的 |
ThresholdClass |
此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。 (继承自 Object) |
ThresholdType |
此 API 支持 Mono for Android 基础结构,不打算直接从代码使用。 (继承自 Object) |
方法
Clone() |
创建并返回此对象的副本。 (继承自 Object) |
Dispose() |
用于存储可用流的 |
Dispose(Boolean) |
用于存储可用流的 |
Equals(Object) |
指示其他对象是否“等于”此对象。 (继承自 Object) |
GetHashCode() |
返回对象的哈希代码值。 (继承自 Object) |
GetHighResolutionOutputSizes(Int32) |
获取支持的高分辨率大小列表,该大小不能以完全BURST_CAPTURE速率运行。 |
GetHighSpeedVideoFpsRanges() |
获取受支持的高速视频录制 FPS 范围的列表。 |
GetHighSpeedVideoFpsRangesFor(Size) |
获取输入高速视频大小的每秒帧范围(fpsMin,fpsMax)。 |
GetHighSpeedVideoSizes() |
获取受支持的高速视频录制大小列表。 |
GetHighSpeedVideoSizesFor(Range) |
获取输入高速 FPS 范围的受支持视频大小。 |
GetInputFormats() |
获取此流配置中的图像 |
GetInputSizes(Int32) |
获取此输入格式支持的输入大小。 |
GetOutputFormats() |
获取此流配置中的图像 |
GetOutputMinFrameDuration(Class, Size) |
获取类/大小组合(以纳秒为单位)的最小值 |
GetOutputMinFrameDuration(Int32, Size) |
获取格式/大小组合(以纳秒为单位)的最小值 |
GetOutputSizes(Class) |
获取与用作输出兼容的 |
GetOutputSizes(Int32) |
获取与请求的图像 |
GetOutputStallDuration(Class, Size) |
获取类/大小组合(以纳秒为单位)的停止持续时间。 |
GetOutputStallDuration(Int32, Size) |
获取格式/大小组合(以纳秒为单位)的停止持续时间。 |
GetValidOutputFormatsForInput(Int32) |
获取重新处理输入格式的图像 |
IsOutputSupportedFor(Class) |
确定是否可以使用特定类作为使用者配置输出流。 |
IsOutputSupportedFor(Int32) |
确定是否可以传递 |
IsOutputSupportedFor(Surface) |
确定其当前状态是否 |
JavaFinalize() |
当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。 (继承自 Object) |
Notify() |
唤醒正在等待此对象的监视器的单个线程。 (继承自 Object) |
NotifyAll() |
唤醒正在等待此对象的监视器的所有线程。 (继承自 Object) |
SetHandle(IntPtr, JniHandleOwnership) |
设置 Handle 属性。 (继承自 Object) |
ToArray<T>() |
用于存储可用流的 |
ToString() |
返回对象的字符串表示形式。 (继承自 Object) |
UnregisterFromRuntime() |
用于存储可用流的 |
Wait() |
使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<>< (继承自 Object) |
Wait(Int64) |
使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。 (继承自 Object) |
Wait(Int64, Int32) |
使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。 (继承自 Object) |
显式接口实现
IJavaPeerable.Disposed() |
用于存储可用流的 |
IJavaPeerable.DisposeUnlessReferenced() |
用于存储可用流的 |
IJavaPeerable.Finalized() |
用于存储可用流的 |
IJavaPeerable.JniManagedPeerState |
用于存储可用流的 |
IJavaPeerable.SetJniIdentityHashCode(Int32) |
用于存储可用流的 |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
用于存储可用流的 |
IJavaPeerable.SetPeerReference(JniObjectReference) |
用于存储可用流的 |
扩展方法
JavaCast<TResult>(IJavaObject) |
执行 Android 运行时检查的类型转换。 |
JavaCast<TResult>(IJavaObject) |
用于存储可用流的 |
GetJniTypeName(IJavaPeerable) |
用于存储可用流的 |