public static enum XCScheme.LaunchAction.WatchInterface extends Enum<XCScheme.LaunchAction.WatchInterface>
Enum Constant and Description |
---|
COMPLICATION
Launches the Watch app's complication
|
DYNAMIC_NOTIFICATION
Launches the Watch app's dynamic notification with notification payload
|
MAIN
Launches the Watch app
|
STATIC_NOTIFICATION
Launches the Watch app's static notification with notification payload
|
Modifier and Type | Method and Description |
---|---|
static XCScheme.LaunchAction.WatchInterface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XCScheme.LaunchAction.WatchInterface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XCScheme.LaunchAction.WatchInterface MAIN
public static final XCScheme.LaunchAction.WatchInterface COMPLICATION
public static final XCScheme.LaunchAction.WatchInterface DYNAMIC_NOTIFICATION
public static final XCScheme.LaunchAction.WatchInterface STATIC_NOTIFICATION
public static XCScheme.LaunchAction.WatchInterface[] values()
for (XCScheme.LaunchAction.WatchInterface c : XCScheme.LaunchAction.WatchInterface.values()) System.out.println(c);
public static XCScheme.LaunchAction.WatchInterface valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null