public enum BelvedereProvider extends java.lang.Enum<BelvedereProvider>
Belvedere
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
com.zendesk.belvedere.Belvedere |
getInstance(android.content.Context context)
Get an instance of
Belvedere . |
static BelvedereProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BelvedereProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BelvedereProvider INSTANCE
public static BelvedereProvider[] values()
for (BelvedereProvider c : BelvedereProvider.values()) System.out.println(c);
public static BelvedereProvider 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 com.zendesk.belvedere.Belvedere getInstance(@NonNull android.content.Context context)
Belvedere
.
The first call to this method will create an instance of
Belvedere
. Every subsequent call will get the instance,
created during the first call.
context
- a valid application Context
Belvedere