Resource Base
Table of contents

EnumResolution

Enumeration Resolution describes the resolution.

@IntDef({RESOLUTION_AUTO,RESOLUTION_480P,RESOLUTION_720P,RESOLUTION_1080P,RESOLUTION_2K,RESOLUTION_4K})
@Retention(RetentionPolicy.CLASS)
public @interface EnumResolution {
   // 480P
   int RESOLUTION_480P = 1;
   // 720P
   int RESOLUTION_720P = 2;
   // 1080P
   int RESOLUTION_1080P = 3;
   // 2K
   int RESOLUTION_2K = 4;
   // 4K
   int RESOLUTION_4K = 5;
   // Set the resolution to max so that you can capture 3024*4032 size photo.
   int RESOLUTION_MAX = 6;
}

This page is compatible for: