Class CameraFormatHelper


  • public class CameraFormatHelper
    extends java.lang.Object
    • Constructor Detail

      • CameraFormatHelper

        public CameraFormatHelper()
    • Method Detail

      • getPreferablePreviewFormat

        public static int getPreferablePreviewFormat​(@NonNull
                                                     android.content.Context context)
      • savePreferablePreviewFormat

        public static void savePreferablePreviewFormat​(@NonNull
                                                       android.content.Context context,
                                                       int format)
      • decodePreviewFormat

        @NonNull
        public static java.lang.String decodePreviewFormat​(int format)