readonly attribute sbIMediaItem item
The item that was played.
void setEntryId(in long long aEntryId)
Set the entry id.
void setAnnotation(in AString aAnnotationId, in AString aAnnotationValue)
Set an annotation on the entry.
readonly attribute long long duration
Duration of playback in microseconds.
boolean hasAnnotation(in AString aAnnotationId)
Verify the presence of an annotation.
void init(in sbIMediaItem aItem, in long long aTimestamp, in long long aDuration, in sbIPropertyArray aAnnotations)
Initialize a playback history entry.
readonly attribute long long timestamp
Timestamp indicating at which time the item started playing.
readonly attribute sbIPropertyArray annotations
Annotations to the entry. Annotations are properties.
void removeAnnotation(in AString aAnnotationId)
Remove an annotation from the entry.
readonly attribute long long entryId
AString getAnnotation(in AString aAnnotationId)
Get an annotation by id.