public static enum MediaConstraintsException.EXCEPTION_VARIANT extends Enum<MediaConstraintsException.EXCEPTION_VARIANT>
Enum Constant and Description |
---|
MEDIA_EXTENSION_MIME_MISMATCH
Extension mime-type mismatch
|
MEDIA_EXTENSION_REJECTED
Extension not allowed.
|
MEDIA_EXTENSION_UNSUPPORTED
Extension not supported.
|
MEDIA_NO_TYPE
No specific exception variant.
|
MEDIA_SIZE_EXCEEDED
Size exceeded.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getDefaultMessage(Map<String,String> params)
The default error message for a variant.
|
static MediaConstraintsException.EXCEPTION_VARIANT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaConstraintsException.EXCEPTION_VARIANT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaConstraintsException.EXCEPTION_VARIANT MEDIA_NO_TYPE
public static final MediaConstraintsException.EXCEPTION_VARIANT MEDIA_SIZE_EXCEEDED
public static final MediaConstraintsException.EXCEPTION_VARIANT MEDIA_EXTENSION_REJECTED
public static final MediaConstraintsException.EXCEPTION_VARIANT MEDIA_EXTENSION_MIME_MISMATCH
public static final MediaConstraintsException.EXCEPTION_VARIANT MEDIA_EXTENSION_UNSUPPORTED
public static MediaConstraintsException.EXCEPTION_VARIANT[] values()
for (MediaConstraintsException.EXCEPTION_VARIANT c : MediaConstraintsException.EXCEPTION_VARIANT.values()) System.out.println(c);
public static MediaConstraintsException.EXCEPTION_VARIANT 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 nullCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210