public static enum ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem extends java.lang.Enum<ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem>
| Enum Constant and Description |
|---|
Android |
iOS |
Linux |
macOS |
tvOS |
watchOS |
Windows |
| Modifier and Type | Method and Description |
|---|---|
static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem |
parse(java.lang.String osName)
Parses a string to the closes match of a given OperatingSystemConstant.
|
static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem iOS
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem tvOS
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem watchOS
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem macOS
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem Windows
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem Linux
public static final ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem Android
public static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem[] values()
for (ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem c : ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem.values()) System.out.println(c);
public static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem parse(java.lang.String osName)
osName - the name of the os, as returned from the platform.ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem fields closely matching, or null if unknown.PlatformCopyright © 2019 Contentful, GmbH.. All Rights Reserved.