Api28Impl

public final class Api28Impl
extends Object

java.lang.Object
   ↳ androidx.camera.video.internal.compat.Api28Impl


Helper class to avoid verification errors for methods introduced in Android 9 (API 28).

Summary

Public methods

static Range<Integer> getQualityRange(MediaCodecInfo.EncoderCapabilities caps)

Returns the supported range of quality values for MediaCodecInfo.EncoderCapabilities.

Inherited methods

Public methods

getQualityRange

public static Range<Integer> getQualityRange (MediaCodecInfo.EncoderCapabilities caps)

Returns the supported range of quality values for MediaCodecInfo.EncoderCapabilities.

Parameters
caps MediaCodecInfo.EncoderCapabilities

Returns
Range<Integer>