public enum WlShmError extends Enum<WlShmError>
These errors can be emitted in response to wl_shm requests.
| Enum Constant and Description |
|---|
INVALID_FD
mmapping the file descriptor failed
|
INVALID_FORMAT
buffer format is not known
|
INVALID_STRIDE
invalid size or stride during pool or buffer creation
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlShmError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlShmError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlShmError INVALID_FORMAT
public static final WlShmError INVALID_STRIDE
public static final WlShmError INVALID_FD
public static WlShmError[] values()
for (WlShmError c : WlShmError.values()) System.out.println(c);
public static WlShmError 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 © 2016. All rights reserved.