Method

public enum Method : String, Decodable

Kodi notifications we can receive (SwiftlyKodi Type)

General notifications

  • An unsupported method

    Declaration

    Swift

    case unknown

Application notifications

  • The volume of the application has changed

    Declaration

    Swift

    case applicationOnVolumeChanged = "Application.OnVolumeChanged"

Player notifications

  • Audio- or videostream has changed

    Declaration

    Swift

    case playerOnAVChange = "Player.OnAVChange"
  • Playback of a media item has been started and first frame is available

    Declaration

    Swift

    case playerOnAVStart = "Player.OnAVStart"
  • Playback of a media item has been paused

    Declaration

    Swift

    case playerOnPause = "Player.OnPause"
  • Playback of a media item has been started or the playback speed has changed

    Declaration

    Swift

    case playerOnPlay = "Player.OnPlay"
  • A property of the playing items has changed

    Declaration

    Swift

    case playerOnPropertyChanged = "Player.OnPropertyChanged"
  • Playback of a media item has been resumed

    Declaration

    Swift

    case playerOnResume = "Player.OnResume"
  • The playback position has been changed

    Declaration

    Swift

    case playerOnSeek = "Player.OnSeek"
  • Speed of the playback of a media item has been changed

    Declaration

    Swift

    case playerOnSpeedChanged = "Player.OnSpeedChanged"
  • Playback of a media item has been stopped

    Declaration

    Swift

    case playerOnStop = "Player.OnStop"

Playlist notifications

  • A playlist item has been added

    Declaration

    Swift

    case playlistOnAdd = "Playlist.OnAdd"
  • A playlist item has been cleared

    Declaration

    Swift

    case playlistOnClear = "Playlist.OnClear"
  • A playlist item has been removed

    Declaration

    Swift

    case playlistOnRemove = "Playlist.OnRemove"

Video library notifications

  • The video library has been cleaned.

    Declaration

    Swift

    case videoLibraryOnCleanFinished = "VideoLibrary.OnCleanFinished"
  • A video library clean operation has started.

    Declaration

    Swift

    case videoLibraryOnCleanStarted = "VideoLibrary.OnCleanStarted"
  • A video library export has finished.

    Declaration

    Swift

    case videoLibraryOnExport = "VideoLibrary.OnExport"
  • The video library has been refreshed and a home screen reload might be necessary.

    Declaration

    Swift

    case videoLibraryOnRefresh = "VideoLibrary.OnRefresh"
  • A video item has been removed.

    Declaration

    Swift

    case videoLibraryOnRemove = "VideoLibrary.OnRemove"
  • Scanning the video library has been finished.

    Declaration

    Swift

    case videoLibraryOnScanFinished = "VideoLibrary.OnScanFinished"
  • A video library scan has started.

    Declaration

    Swift

    case videoLibraryOnScanStarted = "VideoLibrary.OnScanStarted"
  • A video item has been updated.

    Declaration

    Swift

    case videoLibraryOnUpdate = "VideoLibrary.OnUpdate"

Audio library notifications

  • The audio library has been cleaned

    Declaration

    Swift

    case audioLibraryOnCleanFinished = "AudioLibrary.OnCleanFinished"
  • An audio library clean operation has started

    Declaration

    Swift

    case audioLibraryOnCleanStarted = "AudioLibrary.OnCleanStarted"
  • An audio library export has finished

    Declaration

    Swift

    case audioLibraryOnExport = "AudioLibrary.OnExport"
  • An audio item has been removed

    Declaration

    Swift

    case audioLibraryOnRemove = "AudioLibrary.OnRemove"
  • Scanning the audio library has been finished

    Declaration

    Swift

    case audioLibraryOnScanFinished = "AudioLibrary.OnScanFinished"
  • An audio library scan has started

    Declaration

    Swift

    case audioLibraryOnScanStarted = "AudioLibrary.OnScanStarted"
  • An audio item has been updated

    Declaration

    Swift

    case audioLibraryOnUpdate = "AudioLibrary.OnUpdate"