Modifier and Type | Method | Description |
---|---|---|
default int |
countMediaItems() |
The media items contained in this album.
|
int |
countMediaItems(String filter) |
The media items contained in this album.
|
MediaItem |
getMediaItem(int index) |
The media items contained in this album.
|
MediaItem |
getMediaItem(Id id) |
The media items contained in this album.
|
default MediaItem[] |
getMediaItems() |
The media items contained in this album.
|
MediaItem[] |
getMediaItems(String filter) |
The media items contained in this album.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
getId, getName, getParent, setName
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("element") @Type("media item") default MediaItem[] getMediaItems()
MediaItem
s@Kind("element") @Type("media item") MediaItem[] getMediaItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"MediaItem
s@Kind("element") @Type("media item") MediaItem getMediaItem(int index)
index
- index into the element list (zero-based)MediaItem
at the requested index@Kind("element") @Type("media item") MediaItem getMediaItem(Id id)
id
- id of the itemMediaItem
with the requested id@Kind("element") @Type("media item") default int countMediaItems()
MediaItem
s@Kind("element") @Type("media item") int countMediaItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Map<String,Object> getProperties()
getProperties
in interface Container