daapc library Null safety

Classes

DaapClient
DAAP client.
DaapObject
DAAP object.
DmapCode
DMAP code.

Constants

byte → const int
DMAP byte data type.
1
container → const int
DMAP container data type.
12
contentCodesUrlPath → const String
URLs. Content odes URL.
"content-codes"
databaseQueryDefaultMetaCodes → const List<String>
Default database query meta codes.
[dmapCodeComAppleItunesNormVolume, dmapCodeDaapSongAlbumArtist, dmapCodeDaapSongArtist, dmapCodeDaapSongBitrate, dmapCodeDaapSongBeatsPerMinute, dmapCodeDaapSongComment, dmapCodeDaapSongCompilation, d…
databasesUrlPath → const String
Databases URL.
"databases"
databaseUrlPath → const String
Database URL.
"databases/{databaseId}/items"
dmapCodeComAppleItunesAdamIdsArray → const String
DMAP 'com.apple.itunes.adam-ids-array' code.
"aeAD"
dmapCodeComAppleItunesContentRating → const String
DMAP 'com.apple.itunes.content-rating' code.
"aeCR"
dmapCodeComAppleItunesDrmKey1Id → const String
DMAP 'com.apple.itunes.drm-key1-id' code.
"aeK1"
dmapCodeComAppleItunesDrmKey2Id → const String
DMAP 'com.apple.itunes.drm-key2-id' code.
"aeK2"
dmapCodeComAppleItunesDrmPlatformId → const String
DMAP 'com.apple.itunes.drm-platform-id' code.
"aeDP"
dmapCodeComAppleItunesDrmUserId → const String
DMAP 'com.apple.itunes.drm-user-id' code.
"aeDR"
dmapCodeComAppleItunesDrmVersions → const String
DMAP 'com.apple.itunes.drm-versions' code.
"aeDV"
dmapCodeComAppleItunesEpisodeNumStr → const String
DMAP 'com.apple.itunes.episode-num-str' code.
"aeEN"
dmapCodeComAppleItunesEpisodeSort → const String
DMAP 'com.apple.itunes.episode-sort' code.
"aeES"
dmapCodeComAppleItunesExtendedMediaKind → const String
DMAP 'com.apple.itunes.extended-media-kind' code.
"aeMk"
dmapCodeComAppleItunesGaplessDur → const String
DMAP 'com.apple.itunes.gapless-dur' code.
"aeGU"
dmapCodeComAppleItunesGaplessEncDel → const String
DMAP 'com.apple.itunes.gapless-enc-del' code.
"aeGE"
dmapCodeComAppleItunesGaplessEncDr → const String
DMAP 'com.apple.itunes.gapless-enc-dr' code.
"aeGD"
dmapCodeComAppleItunesGaplessHeur → const String
DMAP 'com.apple.itunes.gapless-heur' code.
"aeGH"
dmapCodeComAppleItunesGaplessResy → const String
DMAP 'com.apple.itunes.gapless-resy' code.
"aeGR"
dmapCodeComAppleItunesHasVideo → const String
DMAP 'com.apple.itunes.has-video' code.
"aeHV"
dmapCodeComAppleItunesIsHdVideo → const String
DMAP 'com.apple.itunes.is-hd-video"' code.
"aeHD"
dmapCodeComAppleItunesIsPodcast → const String
DMAP 'com.apple.itunes.is-podcast' code.
"aePC"
dmapCodeComAppleItunesIsPodcastPlaylist → const String
DMAP 'com.apple.itunes.is-podcast-playlist' code.
"aePP"
dmapCodeComAppleItunesItmsArtistId → const String
DMAP 'com.apple.itunes.itms-artistid' code.
"aeAI"
dmapCodeComAppleItunesItmsComposerId → const String
DMAP 'com.apple.itunes.itms-composerid' code.
"aeCI"
dmapCodeComAppleItunesItmsGenreId → const String
DMAP 'com.apple.itunes.itms-genreid' code.
"aeGI"
dmapCodeComAppleItunesItmsPlaylistId → const String
DMAP 'com.apple.itunes.itms-playlistid' code.
"aePI"
dmapCodeComAppleItunesItmsSongId → const String
DMAP 'com.apple.itunes.itms-songid' code.
"aeSI"
dmapCodeComAppleItunesJukeboxClientVote → const String
DMAP 'com.apple.itunes.jukebox-client-vote' code.
"ceJC"
dmapCodeComAppleItunesJukeboxCurrent → const String
DMAP 'com.apple.itunes.jukebox-current' code.
"ceJI"
dmapCodeComAppleItunesJukeboxVote → const String
DMAP 'com.apple.itunes.jukebox-vote' code.
"ceJV"
dmapCodeComAppleItunesMediaKind → const String
DMAP 'com.apple.itunes.mediakind' code.
"aeMK"
dmapCodeComAppleItunesMusicSharingVersion → const String
DMAP 'com.apple.itunes.music-sharing-version' code.
"aeSV"
dmapCodeComAppleItunesNetworkName → const String
DMAP 'com.apple.itunes.network-name' code.
"aeNN"
dmapCodeComAppleItunesNonDrmUserId → const String
DMAP 'com.apple.itunes.non-drm-user-id' code.
"aeND"
dmapCodeComAppleItunesNormVolume → const String
DMAP 'com.apple.itunes.norm-volume' code.
"aeNV"
dmapCodeComAppleItunesReqFplay → const String
DMAP 'com.apple.itunes.req-fplay' code.
"aeFP"
dmapCodeComAppleItunesReqFplayUnknown → const String
DMAP codes.
"????"
dmapCodeComAppleItunesSavedGenius → const String
DMAP 'com.apple.itunes.saved-genius' code.
"aeSG"
dmapCodeComAppleItunesSeasonNum → const String
DMAP 'com.apple.itunes.season-num' code.
"aeSU"
dmapCodeComAppleItunesSeriesName → const String
DMAP 'com.apple.itunes.series-name' code.
"aeSN"
dmapCodeComAppleItunesSmartPlaylist → const String
DMAP 'com.apple.itunes.smart-playlist' code.
"aeSP"
dmapCodeComAppleItunesSpecialPlaylist → const String
DMAP 'com.apple.itunes.special-playlist' code.
"aePS"
dmapCodeComAppleItunesStoreFrontId → const String
DMAP 'com.apple.itunes.itms-storefrontid' code.
"aeSF"
dmapCodeDaapBasePlaylist → const String
DMAP 'daap.baseplaylist' code.
"abpl"
dmapCodeDaapBookmarkable → const String
DMAP 'daap.bookmarkable' code.
"asbk"
dmapCodeDaapBrowseAlbumListing → const String
DMAP code 'daap.browsealbumlisting"' type.
"abal"
dmapCodeDaapBrowseArtistListing → const String
DMAP 'daap.browseartistlisting' code.
"abar"
dmapCodeDaapBrowseComposerListing → const String
DMAP 'daap.browsecomposerlisting' code.
"abcp"
dmapCodeDaapBrowseGenreListing → const String
DMAP 'daap.browsegenrelisting' code.
"abgn"
dmapCodeDaapDatabaseBrowse → const String
DMAP 'daap.databasebrowse' code.
"abro"
dmapCodeDaapDatabasePlaylists → const String
DMAP 'daap.databaseplaylists' code.
"aply"
dmapCodeDaapDatabaseSongs → const String
DMAP 'daap.databasesongs' code.
"adbs"
dmapCodeDaapPlaylistRepeatMode → const String
DMAP 'daap.playlistrepeatmode' code.
"aprm"
dmapCodeDaapPlaylistSongs → const String
DMAP 'daap.playlistsongs' code.
"apso"
dmapCodeDaapPlaylistsShuffleMode → const String
DMAP 'daap.playlistshufflemode' code.
"apsm"
dmapCodeDaapProtocolVersion → const String
DMAP 'daap.protocolversion' code.
"apro"
dmapCodeDaapResolve → const String
DMAP 'daap.resolve' code.
"arsv"
dmapCodeDaapResolveInfo → const String
DMAP 'daap.resolveinfo' code.
"arif"
dmapCodeDaapServerDatabases → const String
DMAP 'daap.serverdatabases' code.
"avdb"
dmapCodeDaapSongAlbum → const String
DMAP 'daap.songalbum' code.
"asal"
dmapCodeDaapSongAlbumArtist → const String
DMAP 'daap.songalbumartist' code.
"asaa"
dmapCodeDaapSongAlbumId → const String
DMAP 'daap.songalbumid' code.
"asai"
dmapCodeDaapSongArtist → const String
DMAP 'daap.songartist' code.
"asar"
dmapCodeDaapSongBeatsPerMinute → const String
DMAP 'daap.songbeatsperminute' code.
"asbt"
dmapCodeDaapSongBitrate → const String
DMAP 'daap.songbitrate' code.
"asbr"
dmapCodeDaapSongBookmark → const String
DMAP 'daap.songbookmark' code.
"asbo"
dmapCodeDaapSongCategory → const String
DMAP 'daap.songcategory' code.
"asct"
dmapCodeDaapSongCodecSubtype → const String
DMAP 'daap.songcodecsubtype' code.
"ascs"
dmapCodeDaapSongCodecType → const String
DMAP 'daap.songcodectype' code.
"ascd"
dmapCodeDaapSongComment → const String
DMAP 'daap.songcomment' code.
"ascm"
dmapCodeDaapSongCompilation → const String
DMAP 'daap.songcompilation' code.
"asco"
dmapCodeDaapSongComposer → const String
DMAP 'daap.songcomposer' code.
"ascp"
dmapCodeDaapSongContentDescription → const String
DMAP 'daap.songcontentdescription' code.
"ascn"
dmapCodeDaapSongContentRating → const String
DMAP 'daap.songcontentrating' code.
"ascr"
dmapCodeDaapSongDataKind → const String
DMAP 'daap.songdatakind' code.
"asdk"
dmapCodeDaapSongDataUrl → const String
DMAP 'daap.songdataurl' code.
"asul"
dmapCodeDaapSongDateAdded → const String
DMAP 'daap.songdateadded' code.
"asda"
dmapCodeDaapSongDateModified → const String
DMAP 'daap.songdatemodified' code.
"asdm"
dmapCodeDaapSongDatePurchased → const String
DMAP 'daap.songdatepurchased' code.
"asdp"
dmapCodeDaapSongDateReleased → const String
DMAP 'daap.songdatereleased' code.
"asdr"
dmapCodeDaapSongDescription → const String
DMAP 'daap.songdescription' code.
"asdt"
dmapCodeDaapSongDisabled → const String
DMAP 'daap.songdisabled' code.
"asdb"
dmapCodeDaapSongDiscCount → const String
DMAP 'daap.songdisccount' code.
"asdc"
dmapCodeDaapSongDiscNumber → const String
DMAP 'daap.songdiscnumber' code.
"asdn"
dmapCodeDaapSongEqPreset → const String
DMAP 'daap.songeqpreset' code.
"aseq"
dmapCodeDaapSongExtraData → const String
DMAP 'daap.songextradata' code.
"ased"
dmapCodeDaapSongFormat → const String
DMAP 'daap.songformat' code.
"asfm"
dmapCodeDaapSongGapless → const String
DMAP 'daap.songgapless' code.
"asgp"
dmapCodeDaapSongGenre → const String
DMAP 'daap.songgenre' code.
"asgn"
dmapCodeDaapSongGrouping → const String
DMAP 'daap.songgrouping' code.
"agrp"
dmapCodeDaapSongHasBeenPlayed → const String
DMAP 'daap.songhasbeenplayed' code.
"ashp"
dmapCodeDaapSongKeywords → const String
DMAP 'daap.songkeywords' code.
"asky"
dmapCodeDaapSongLongContentDescription → const String
DMAP 'daap.songlongcontentdescription' code.
"aslc"
dmapCodeDaapSongLongSize → const String
DMAP 'daap.songlongsize' code.
"asls"
dmapCodeDaapSongPodcastUrl → const String
DMAP 'daap.songsonpodcasturl' code.
"aspu"
dmapCodeDaapSongRelativeVolume → const String
DMAP 'daap.songrelativevolume' code.
"asrv"
dmapCodeDaapSongSampleRate → const String
DMAP 'daap.songsamplerate' code.
"assr"
dmapCodeDaapSongSeriesName → const String
DMAP 'daap.sortseriesname' code.
"asss"
dmapCodeDaapSongSize → const String
DMAP 'daap.songsize' code.
"assz"
dmapCodeDaapSongSortAlbum → const String
DMAP 'daap.sortalbum' code.
"assu"
dmapCodeDaapSongStartTime → const String
DMAP 'daap.songstarttime' code.
"asst"
dmapCodeDaapSongStopTime → const String
DMAP 'daap.songstoptime' code.
"assp"
dmapCodeDaapSongTime → const String
DMAP 'daap.songtime' code.
"astm"
dmapCodeDaapSongTrackCount → const String
DMAP 'daap.songtrackcount' code.
"astc"
dmapCodeDaapSongTrackNumber → const String
DMAP 'daap.songtracknumber' code.
"astn"
dmapCodeDaapSongUserRating → const String
DMAP 'daap.songuserrating' code.
"asur"
dmapCodeDaapSongYear → const String
DMAP 'daap.songyear' code.
"asyr"
dmapCodeDaapSortAlbumArtist → const String
DMAP 'daap.sortalbumartist' code.
"assl"
dmapCodeDaapSortArtist → const String
DMAP 'daap.sortartist' code.
"assa"
dmapCodeDaapSortComposer → const String
DMAP 'daap.sortcomposer' code.
"assc"
dmapCodeDaapSortName → const String
DMAP 'daap.sortname' code.
"assn"
dmapCodeDaapSupportsExtraData → const String
DMAP 'daap.supportsextradata' code.
"ated"
dmapCodeDmapAuthenticationMethod → const String
DMAP 'dmap.authenticationmethod' code.
"msau"
dmapCodeDmapAuthenticationSchemes → const String
DMAP 'dmap.authenticationschemes' code.
"msas"
dmapCodeDmapBag → const String
DMAP 'dmap.bag' code.
"mbcl"
dmapCodeDmapContainer → const String
DMAP 'dmap.container' code.
"mcon"
dmapCodeDmapContainerCount → const String
DMAP 'dmap.containercount' code.
"mctc"
dmapCodeDmapContainerItemId → const String
DMAP 'dmap.containeritemid' code.
"mcti"
dmapCodeDmapContentCodesName → const String
DMAP 'dmap.contentcodesname' code.
"mcna"
dmapCodeDmapContentCodesNumber → const String
DMAP 'dmap.contentcodesnumber' code.
"mcnm"
dmapCodeDmapContentCodesResponse → const String
DMAP 'dmap.contentcodesresponse' code.
"mccr"
dmapCodeDmapContentCodesType → const String
DMAP 'dmap.contentcodestype' code.
"mcty"
dmapCodeDmapDatabasesCount → const String
DMAP 'dmap.databasescount' code.
"msdc"
dmapCodeDmapDeletedIdListing → const String
DMAP 'dmap.deletedidlisting' code.
"mudl"
dmapCodeDmapDictionary → const String
DMAP 'dmap.dictionary' code.
"mdcl"
dmapCodeDmapEditCommandSupported → const String
DMAP 'dmap.editcommandssupported' code.
"meds"
dmapCodeDmapHasChildContainers → const String
DMAP 'dmap.haschildcontainers' code.
"f?ch"
dmapCodeDmapItemCount → const String
DMAP 'dmap.itemcount' code.
"mimc"
dmapCodeDmapItemId → const String
DMAP 'dmap.itemid' code.
"miid"
dmapCodeDmapItemKind → const String
DMAP 'dmap.itemkind' code.
"mikd"
dmapCodeDmapItemName → const String
DMAP 'dmap.itemname' code.
"minm"
dmapCodeDmapListing → const String
DMAP 'dmap.listing' code.
"mlcl"
dmapCodeDmapListingItem → const String
DMAP 'dmap.listingitem' code.
"mlit"
dmapCodeDmapLoginRequired → const String
DMAP 'dmap.loginrequired' code.
"mslr"
dmapCodeDmapLoginResponse → const String
DMAP 'dmap.loginresponse' code.
"mlog"
dmapCodeDmapParentContainerId → const String
DMAP 'dmap.parentcontainerid' code.
"mpco"
dmapCodeDmapPersistentId → const String
DMAP 'dmap.persistentid' code.
"mper"
dmapCodeDmapProtocolVersion → const String
DMAP 'dmap.protocolversion' code.
"mpro"
dmapCodeDmapReturnedCount → const String
DMAP 'dmap.returnedcount' code.
"mrco"
dmapCodeDmapServerInfoResponse → const String
DMAP 'dmap.serverinforesponse' code.
"msrv"
dmapCodeDmapServerRevision → const String
DMAP 'dmap.serverrevision' code.
"musr"
dmapCodeDmapSessionId → const String
DMAP 'dmap.sessionid' code.
"mlid"
dmapCodeDmapSpecifiedTotalCount → const String
DMAP 'dmap.specifiedtotalcount' code.
"mtco"
dmapCodeDmapStatus → const String
DMAP 'dmap.status' code.
"mstt"
dmapCodeDmapStatusString → const String
DMAP 'dmap.statusstring' code.
"msts"
dmapCodeDmapSupportsAutoLogout → const String
DMAP 'dmap.supportsautologout' code.
"msal"
dmapCodeDmapSupportsBrowse → const String
DMAP 'dmap.supportsbrowse' code.
"msbr"
dmapCodeDmapSupportsExtension → const String
DMAP 'dmap.supportsextensions' code.
"msex"
dmapCodeDmapSupportsIndex → const String
DMAP 'dmap.supportsindex' code.
"msix"
dmapCodeDmapSupportsPersistentIds → const String
DMAP 'dmap.supportspersistentids' code.
"mspi"
dmapCodeDmapSupportsQuery → const String
DMAP 'dmap.supportsquery' code.
"msqy"
dmapCodeDmapSupportsResolve → const String
DMAP 'dmap.supportsresolve' code.
"msrs"
dmapCodeDmapSupportsUpdate → const String
DMAP 'dmap.supportsupdate' code.
"msup"
dmapCodeDmapTimeoutInterval → const String
DMAP 'dmap.timeoutinterval' code.
"mstm"
dmapCodeDmapUpdateResponse → const String
DMAP 'dmap.updateresponse' code.
"mupd"
dmapCodeDmapUpdateType → const String
DMAP 'dmap.updatetype' code.
"muty"
dmapCodeDmapUtcOffset → const String
DMAP 'dmap.utcoffset' code.
"msto"
dmapCodeDmapUtcTime → const String
DMAP 'dmap.utctime' code.
"mstc"
dmapCodeDpapProtocolVersion → const String
DMAP 'dpap.protocolversion' code.
"ppro"
dmapCodeDpapUnknown → const String
DMAP 'dpap.unknown' code.
"pret"
dmapDataTypes → const Map<int, String>
DMAP data types mapping (according to protocol).
{byte : "b", unsignedByte : "ub", short : "h", unsignedShort : "uh", integer : "i", unsignedInteger : "ui", long : "l", unsignedLo…
dmapDataTypesNames → const Map<int, String>
DMAP data types mapping (human readable).
{byte : "byte", unsignedByte : "unsigned byte", short : "short", unsignedShort : "unsigned short", integer : "integer", unsignedInteger : "unsign…
integer → const int
DMAP integer data type.
5
loginUrlPath → const String
Login URL.
"login"
long → const int
DMAP long data type.
7
playlistQueryDefaultMetaCodes → const List<String>
Default playlist query meta codes.
[dmapCodeDaapSongAlbumArtist, dmapCodeDaapSongArtist, dmapCodeDaapSongFormat, dmapCodeDaapSongGenre, dmapCodeDaapSongSize, dmapCodeDaapSongTime, dmapCodeDaapSongTrackNumber, dmapCodeDaapSongYear, dmap…
playlistsQueryDefaultMetaCodes → const List<String>
Default playlists query meta codes.
[dmapCodeDaapBasePlaylist, dmapCodeComAppleItunesIsPodcastPlaylist, dmapCodeComAppleItunesSpecialPlaylist, dmapCodeComAppleItunesSavedGenius, dmapCodeComAppleItunesSmartPlaylist, dmapCodeDmapHasChildC…
playlistsUrlPath → const String
Playlists URL.
"databases/{databaseId}/containers"
playlistUrlPath → const String
Playlist URL.
"databases/{databaseId}/containers/{playlistId}/items"
serverInfoUrlPath → const String
Server info URL.
"server-info"
short → const int
DMAP short data type.
3
songArtworkUrlPath → const String
Song artwork URL.
"databases/{databaseId}/items/{songId}/extra_data/artwork"
songUrlPath → const String
Song URL.
"databases/{databaseId}/items/{songId}.{songFormat}"
string → const int
DMAP string data type.
9
timestamp → const int
DMAP timestamp data type.
10
unsignedByte → const int
DMAP unsigned byte data type.
2
unsignedInteger → const int
DMAP unsigned integer data type.
6
unsignedLong → const int
DMAP unsigned long data type.
8
unsignedShort → const int
DMAP unsigned short data type.
4
updateUrlPath → const String
Update URL.
"update"
version → const int
DMAP version data type.
11

Properties

dmapCodeTypes Map<String, DmapCode>
DMAP codes mapping.
final
requestHeaders Map<String, String>
HTTP request headers payload.
final

Exceptions / Errors

DaapAuthenticationFailureException
DAAP client authentication failure exception.
DaapAuthRequiredException
DAAP client auth required exception.
DaapException
DAAP client common exception.
DaapImproperlyConfiguredException
DAAP client improperly configured exception.
DaapTooManyConnectionsException
DAAP client too many connections exception.
DmapDecodeException
DMAP decode data exception.
DmapEncodeException
DMAP encode data exception.
DmapImproperlyConfiguredException
DMAP object improperly configured exception.