|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IProgramFlags.Flags> org.jmythapi.protocol.response.IProgramFlags.Flags
public static enum IProgramFlags.Flags
The flags of the PROGRAM_FLAGS
property.
MythTV Protocol Version Matrix | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Protocol | ||||||||||||||
Name | Type | Range | 00 | 21 | 23 | 27 | 28 | 31 | 32 | 34 | 35 | 53 | 57 | -1 |
FL_NONE | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_COMMFLAG | IFlag | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X |
FL_CUTLIST | IFlag | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X |
FL_AUTOEXP | IFlag | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X |
FL_EDITING | IFlag | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X |
FL_BOOKMARK | IFlag | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X |
FL_INUSERECORDING | IFlag | [21,-1) | - | X | X | X | X | X | X | X | X | X | X | X |
FL_INUSEPLAYING | IFlag | [23,-1) | - | - | X | X | X | X | X | X | X | X | X | X |
FL_STEREO | IFlag | [27,35) | - | - | - | X | X | X | X | X | - | - | - | - |
FL_REALLYEDITING | IFlag | [53,-1) | - | - | - | - | - | - | - | - | - | X | X | X |
FL_CC | IFlag | [27,35) | - | - | - | X | X | X | X | X | - | - | - | - |
FL_COMMPROCESSING | IFlag | [53,-1) | - | - | - | - | - | - | - | - | - | X | X | X |
FL_HDTV | IFlag | [27,35) | - | - | - | X | X | X | X | X | - | - | - | - |
FL_DELETEPENDING | IFlag | [53,-1) | - | - | - | - | - | - | - | - | - | X | X | X |
FL_TRANSCODED | IFlag | [28,-1) | - | - | - | - | X | X | X | X | X | X | X | X |
FL_WATCHED | IFlag | [31,-1) | - | - | - | - | - | X | X | X | X | X | X | X |
FL_PRESERVED | IFlag | [32,-1) | - | - | - | - | - | - | X | X | X | X | X | X |
FL_CHANCOMMFREE | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_REPEAT | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_DUPLICATE | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_REACTIVATE | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_IGNOREBOOKMARK | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_TYPEMASK | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
FL_INUSEOTHER | IFlag | [57,-1) | - | - | - | - | - | - | - | - | - | - | X | X |
ProgramInfoFilters#flag(Flags)
,
libmythtv/programinfo.h (till 21.08.2009),
libmyth/programinfo.h (till 19.04.2010),
libmyth/programtypes.h (since 16.05.2010)Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IVersionableValue |
---|
IVersionableValue.VersionablePair |
Enum Constant Summary | |
---|---|
FL_AUTOEXP
Autoexpire. |
|
FL_BOOKMARK
Bookmark. |
|
FL_CC
Deprecated. 35, moved to IProgramSubtitleType |
|
FL_CHANCOMMFREE
Channel Commercial free. |
|
FL_COMMFLAG
Commercial flags. |
|
FL_COMMPROCESSING
Commercial flagging in progress. |
|
FL_CUTLIST
Cutlist. |
|
FL_DELETEPENDING
Delete Pending. |
|
FL_DUPLICATE
This flag replaces ProgramInfo.Props#DUPLICATE . |
|
FL_EDITING
Editing. |
|
FL_HDTV
Deprecated. 35, moved into IProgramVideoProperties.Flags.VID_HDTV |
|
FL_IGNOREBOOKMARK
|
|
FL_INUSEOTHER
|
|
FL_INUSEPLAYING
In Use Playing. |
|
FL_INUSERECORDING
In Use Recording. |
|
FL_NONE
|
|
FL_PRESERVED
Preserved. |
|
FL_REACTIVATE
|
|
FL_REALLYEDITING
Editing in progress. |
|
FL_REPEAT
This flag replaces ProgramInfo.Props#REPEAT . |
|
FL_STEREO
Deprecated. 35, moved to IProgramAudioProperties.Flags.AUD_STEREO |
|
FL_TRANSCODED
Transcoded. |
|
FL_TYPEMASK
|
|
FL_WATCHED
Watched. |
Method Summary | |
---|---|
Long |
getFlagValue()
Gets the value associated with the flag. |
Long |
getValue(ProtocolVersion protoVersion)
Returns the actual property value for the given protocol version. |
IVersionableValue.VersionablePair[] |
getValues()
Gets all possible values for the given property. |
static IProgramFlags.Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IProgramFlags.Flags[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jmythapi.protocol.response.IFlag |
---|
name |
Enum Constant Detail |
---|
public static final IProgramFlags.Flags FL_NONE
public static final IProgramFlags.Flags FL_COMMFLAG
Commercials are flagged.
public static final IProgramFlags.Flags FL_CUTLIST
An editing cutlist is present.
public static final IProgramFlags.Flags FL_AUTOEXP
The program is able to auto-expire
public static final IProgramFlags.Flags FL_EDITING
If the user has started editing a recording or if commercials are being flagged.
public static final IProgramFlags.Flags FL_BOOKMARK
A bookmark is set.
public static final IProgramFlags.Flags FL_INUSERECORDING
This recording is currently in use by another Myth program.
This was renamed from In-Use to In-Use-Recording in SVN Rev 7928.
public static final IProgramFlags.Flags FL_INUSEPLAYING
public static final IProgramFlags.Flags FL_STEREO
IProgramAudioProperties.Flags.AUD_STEREO
public static final IProgramFlags.Flags FL_REALLYEDITING
If the user has started but not finished editing.
public static final IProgramFlags.Flags FL_CC
IProgramSubtitleType
Recording is Closed Captioned.
public static final IProgramFlags.Flags FL_COMMPROCESSING
If commercials are being flagged.
public static final IProgramFlags.Flags FL_HDTV
IProgramVideoProperties.Flags.VID_HDTV
Recording is in High Definition
public static final IProgramFlags.Flags FL_DELETEPENDING
Deleting of the recording is pending.
public static final IProgramFlags.Flags FL_TRANSCODED
Recording has been transcoded.
public static final IProgramFlags.Flags FL_WATCHED
Marks a recording as watched.
public static final IProgramFlags.Flags FL_PRESERVED
Marks an episode as preserved.
public static final IProgramFlags.Flags FL_CHANCOMMFREE
Marks a channel to be commercial free.
This flag replaces ProgramInfo.Props#CHAN_COMM_FREE
.
public static final IProgramFlags.Flags FL_REPEAT
ProgramInfo.Props#REPEAT
.
public static final IProgramFlags.Flags FL_DUPLICATE
ProgramInfo.Props#DUPLICATE
.
public static final IProgramFlags.Flags FL_REACTIVATE
public static final IProgramFlags.Flags FL_IGNOREBOOKMARK
public static final IProgramFlags.Flags FL_TYPEMASK
public static final IProgramFlags.Flags FL_INUSEOTHER
Method Detail |
---|
public static IProgramFlags.Flags[] values()
for (IProgramFlags.Flags c : IProgramFlags.Flags.values()) System.out.println(c);
public static IProgramFlags.Flags valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic IVersionableValue.VersionablePair[] getValues()
IVersionableValue
There are some restrictions to the content of the array:
FL_BOOKMARK(0x00000010)
.FL_INUSERECORDING(VersionablePair.valueOf(PROTO_VERSION_21,0x00000020),VersionablePair.valueOf(PROTO_VERSION_57,0x00100000))
.
getValues
in interface IVersionableValue
public Long getFlagValue()
IFlag
getFlagValue
in interface IFlag
public Long getValue(ProtocolVersion protoVersion)
IVersionableValue
getValue
in interface IVersionableValue
protoVersion
- the protocol version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |