Skip to main content
Version: SDK 5.0.x

Enum Class PlatformType

public enum PlatformType
extends Enum<PlatformType>
Inheritance

java.lang.Objectjava.lang.Enum<PlatformType> ← io.justtrack.PlatformType

All Implemented Interfaces

Serializable, Comparable<PlatformType>, Constable

Enum.EnumDesc<E extends Enum<E>>

Enum Constants

ANDROID

public static final PlatformType ANDROID

REACT_NATIVE

public static final PlatformType REACT_NATIVE

UNITY

public static final PlatformType UNITY

Methods

toString

@NonNull
public String toString()

Overrides

toString in class Enum<PlatformType>

valueOf

public static PlatformType valueOf(String name)

Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)

Parameters

NameDescription
namethe name of the enum constant to be returned.

Returns

the enum constant with the specified name

Throws

NameDescription
IllegalArgumentExceptionif this enum class has no constant with the specified name
NullPointerExceptionif the argument is null

values

public static PlatformType[] values()

Returns an array containing the constants of this enum class, in the order they are declared.

Returns

an array containing the constants of this enum class, in the order they are declared