import"sbIPlaybackHistoryEntry.idl";
Definition at line 36 of file sbIPlaybackHistoryEntry.idl.
AString sbIPlaybackHistoryEntry::getAnnotation |
( |
in AString |
aAnnotationId | ) |
|
Get an annotation by id.
- Parameters
-
aAnnotationId | The annotation id. |
- Returns
- The annotation value.
- Exceptions
-
NS_ERROR_NOT_AVAILABLE | when the annotation is not available. |
boolean sbIPlaybackHistoryEntry::hasAnnotation |
( |
in AString |
aAnnotationId | ) |
|
Verify the presence of an annotation.
- Parameters
-
aAnnotationId | The annotation id. |
- Return values
-
true | The annotation is present. |
false | The annotation is not available. |
void sbIPlaybackHistoryEntry::init |
( |
in sbIMediaItem |
aItem, |
|
|
in long long |
aTimestamp, |
|
|
in long long |
aDuration, |
|
|
in sbIPropertyArray |
aAnnotations |
|
) |
| |
Initialize a playback history entry.
- Parameters
-
aItem | The media item for the entry. |
aTimestamp | The time at which the item started playing. |
aDuration | The duration of playback for the item for this entry. |
aAnnotations | The annotations for the entry. |
- Note
- The timestamp is a standard UNIX style timestamp.
void sbIPlaybackHistoryEntry::removeAnnotation |
( |
in AString |
aAnnotationId | ) |
|
Remove an annotation from the entry.
- Parameters
-
aAnnotationId | The annotation id. |
void sbIPlaybackHistoryEntry::setAnnotation |
( |
in AString |
aAnnotationId, |
|
|
in AString |
aAnnotationValue |
|
) |
| |
Set an annotation on the entry.
- Parameters
-
aAnnotationId | The annotation id. |
aAnnotationValue | The annotation value. |
void sbIPlaybackHistoryEntry::setEntryId |
( |
in long long |
aEntryId | ) |
|
Set the entry id.
- Note
- This method is for internal use only.
readonly attribute long long sbIPlaybackHistoryEntry::duration |
readonly attribute long long sbIPlaybackHistoryEntry::entryId |
readonly attribute sbIMediaItem sbIPlaybackHistoryEntry::item |
readonly attribute long long sbIPlaybackHistoryEntry::timestamp |
Timestamp indicating at which time the item started playing.
- Note
- The timestamp is a usecs since the unix epoch.
Definition at line 53 of file sbIPlaybackHistoryEntry.idl.
The documentation for this interface was generated from the following file: