Package com.gluonhq.gradle.attach
Enum AttachService
- java.lang.Object
-
- java.lang.Enum<AttachService>
-
- com.gluonhq.gradle.attach.AttachService
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AttachService>
public enum AttachService extends java.lang.Enum<AttachService>
List of all available services in Attach See https://github.com/gluonhq/attach Each service has an iOS implementation, and some of them a desktop implementation as well
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetServiceName()booleanisAndroidSupported()booleanisDesktopSupported()booleanisIosSupported()static AttachServicevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AttachService[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCELEROMETER
public static final AttachService ACCELEROMETER
-
AUDIO
public static final AttachService AUDIO
-
AUDIO_RECORDING
public static final AttachService AUDIO_RECORDING
-
AUGMENTED_REALITY
public static final AttachService AUGMENTED_REALITY
-
BARCODE_SCAN
public static final AttachService BARCODE_SCAN
-
BATTERY
public static final AttachService BATTERY
-
BLE
public static final AttachService BLE
-
BROWSER
public static final AttachService BROWSER
-
CACHE
public static final AttachService CACHE
-
COMPASS
public static final AttachService COMPASS
-
CONNECTIVITY
public static final AttachService CONNECTIVITY
-
DEVICE
public static final AttachService DEVICE
-
DIALER
public static final AttachService DIALER
-
DISPLAY
public static final AttachService DISPLAY
-
IN_APP_BILLING
public static final AttachService IN_APP_BILLING
-
KEYBOARD
public static final AttachService KEYBOARD
-
LIFECYCLE
public static final AttachService LIFECYCLE
-
LOCAL_NOTIFICATIONS
public static final AttachService LOCAL_NOTIFICATIONS
-
MAGNETOMETER
public static final AttachService MAGNETOMETER
-
ORIENTATION
public static final AttachService ORIENTATION
-
PICTURES
public static final AttachService PICTURES
-
POSITION
public static final AttachService POSITION
-
PUSH_NOTIFICATIONS
public static final AttachService PUSH_NOTIFICATIONS
-
RUNTIME_ARGS
public static final AttachService RUNTIME_ARGS
-
SETTINGS
public static final AttachService SETTINGS
-
SHARE
public static final AttachService SHARE
-
STATUSBAR
public static final AttachService STATUSBAR
-
STORAGE
public static final AttachService STORAGE
-
STORE_REVIEW
public static final AttachService STORE_REVIEW
-
VERSION
public static final AttachService VERSION
-
VIBRATION
public static final AttachService VIBRATION
-
VIDEO
public static final AttachService VIDEO
-
-
Method Detail
-
values
public static AttachService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttachService c : AttachService.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttachService valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getServiceName
public java.lang.String getServiceName()
-
isAndroidSupported
public boolean isAndroidSupported()
-
isIosSupported
public boolean isIosSupported()
-
isDesktopSupported
public boolean isDesktopSupported()
-
-