public enum MediaListPlayerEventType extends Enum<MediaListPlayerEventType>
Enum Constant and Description |
---|
ALL |
NEXT_ITEM_SET |
Modifier and Type | Method and Description |
---|---|
static int |
events(MediaListPlayerEventType... types)
Get a bit-mask for one or more event types.
|
static int |
notEvents(MediaListPlayerEventType... types)
Get an inverse bit-mask for one or more event types.
|
static boolean |
notSet(int value,
MediaListPlayerEventType type)
Test whether or not a media player event type is set in a bit-mask.
|
static boolean |
set(int value,
MediaListPlayerEventType type)
Test whether or not a media player event type is set in a bit-mask.
|
int |
value()
Get the bit-mask.
|
static MediaListPlayerEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaListPlayerEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaListPlayerEventType NEXT_ITEM_SET
public static final MediaListPlayerEventType ALL
public static MediaListPlayerEventType[] values()
for (MediaListPlayerEventType c : MediaListPlayerEventType.values()) System.out.println(c);
public static MediaListPlayerEventType 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 nullpublic final int value()
public static int events(MediaListPlayerEventType... types)
types
- one or more event typespublic static int notEvents(MediaListPlayerEventType... types)
types
- one or more event typespublic static boolean set(int value, MediaListPlayerEventType type)
value
- bit-masktype
- event type to test fortrue
if the type value is set in the bit-mask, otherwise false
public static boolean notSet(int value, MediaListPlayerEventType type)
value
- bit-masktype
- event type to test forfalse
if the type value is set in the bit-mask, otherwise true
Copyright © 2009–2015 Caprica Software Limited. All rights reserved.