public class CN1Constants

  1. Object
  2. CN1Constants

Known subtypesCN, Display

Common constants for Display and CN

Fields

public static final int DENSITY_VERY_LOW = 10Very Low Density 176x220 And Smaller
public static final int DENSITY_LOW = 20Low Density Up To 240x320
public static final int DENSITY_MEDIUM = 30Medium Density Up To 360x480
public static final int DENSITY_HIGH = 40Hi Density Up To 480x854
public static final int DENSITY_VERY_HIGH = 50Very Hi Density Up To 1440x720
public static final int DENSITY_HD = 60HD Up To 1920x1080
public static final int DENSITY_560 = 65Intermediate density for screens that sit somewhere between HD to 2HD
public static final int DENSITY_2HD = 70Double the HD level density
public static final int DENSITY_4K = 804K level density
public static final int PICKER_TYPE_DATE = 1Date native picker type, it returns a java.util.Date result.
public static final int PICKER_TYPE_TIME = 2Time native picker type, it returns an integer with minutes since midnight.
public static final int PICKER_TYPE_DATE_AND_TIME = 3Date and time native picker type, it returns a java.util.Date result.
public static final int PICKER_TYPE_STRINGS = 4Strings native picker type, it returns a String result and accepts a String array.
public static final int PICKER_TYPE_DURATION = 5Duration picker type.
public static final int PICKER_TYPE_DURATION_HOURS = 6Duration picker type.
public static final int PICKER_TYPE_DURATION_MINUTES = 7Duration picker type.
public static final int PICKER_TYPE_CALENDAR = 8Calendar picker type.
public static final int SMS_NOT_SUPPORTED = 1Used by getSMSSupport to indicate that SMS is not supported
public static final int SMS_SEAMLESS = 2Used by getSMSSupport to indicate that SMS is sent in the background without a compose UI
public static final int SMS_INTERACTIVE = 3Used by getSMSSupport to indicate that SMS triggers the native SMS app which will show a compose UI
public static final int SMS_BOTH = 4Used by getSMSSupport to indicate that SMS can be sent in either seamless or interactive mode
public static final int GALLERY_IMAGE = 0Used by openGallery
public static final int GALLERY_VIDEO = 1Used by openGallery
public static final int GALLERY_ALL = 2Used by openGallery
public static final int GALLERY_IMAGE_MULTI = 3Used by openGallery
public static final int GALLERY_VIDEO_MULTI = 4Used by openGallery
public static final int GALLERY_ALL_MULTI = 5Used by openGallery

Constructors

public CN1Constants()

Inherited methods

Field details

DENSITY_VERY_LOW

public static final int DENSITY_VERY_LOW = 10
Very Low Density 176x220 And Smaller

DENSITY_LOW

public static final int DENSITY_LOW = 20
Low Density Up To 240x320

DENSITY_MEDIUM

public static final int DENSITY_MEDIUM = 30
Medium Density Up To 360x480

DENSITY_HIGH

public static final int DENSITY_HIGH = 40
Hi Density Up To 480x854

DENSITY_VERY_HIGH

public static final int DENSITY_VERY_HIGH = 50
Very Hi Density Up To 1440x720

DENSITY_HD

public static final int DENSITY_HD = 60
HD Up To 1920x1080

DENSITY_560

public static final int DENSITY_560 = 65
Intermediate density for screens that sit somewhere between HD to 2HD

DENSITY_2HD

public static final int DENSITY_2HD = 70
Double the HD level density

DENSITY_4K

public static final int DENSITY_4K = 80
4K level density

PICKER_TYPE_DATE

public static final int PICKER_TYPE_DATE = 1
Date native picker type, it returns a java.util.Date result.

PICKER_TYPE_TIME

public static final int PICKER_TYPE_TIME = 2
Time native picker type, it returns an integer with minutes since midnight.

PICKER_TYPE_DATE_AND_TIME

public static final int PICKER_TYPE_DATE_AND_TIME = 3
Date and time native picker type, it returns a java.util.Date result.

PICKER_TYPE_STRINGS

public static final int PICKER_TYPE_STRINGS = 4
Strings native picker type, it returns a String result and accepts a String array.

PICKER_TYPE_DURATION

public static final int PICKER_TYPE_DURATION = 5
Duration picker type. It returns Long result (milliseconds).

PICKER_TYPE_DURATION_HOURS

public static final int PICKER_TYPE_DURATION_HOURS = 6
Duration picker type. It returns Long result (milliseconds).

PICKER_TYPE_DURATION_MINUTES

public static final int PICKER_TYPE_DURATION_MINUTES = 7
Duration picker type. It returns Long result (milliseconds).

PICKER_TYPE_CALENDAR

public static final int PICKER_TYPE_CALENDAR = 8
Calendar picker type. It returns java.util.Date result;

SMS_NOT_SUPPORTED

public static final int SMS_NOT_SUPPORTED = 1
Used by getSMSSupport to indicate that SMS is not supported

SMS_SEAMLESS

public static final int SMS_SEAMLESS = 2
Used by getSMSSupport to indicate that SMS is sent in the background without a compose UI

SMS_INTERACTIVE

public static final int SMS_INTERACTIVE = 3
Used by getSMSSupport to indicate that SMS triggers the native SMS app which will show a compose UI

SMS_BOTH

public static final int SMS_BOTH = 4
Used by getSMSSupport to indicate that SMS can be sent in either seamless or interactive mode

Constructor details

CN1Constants

public CN1Constants()