Protocols

The following protocols are available globally.

  • The protocol representing the interface for the object that can be played in the audio player.

    See more

    Declaration

    Swift

    @objc(LwayveAudioTrack)
    public protocol AudioTrack : NSCoding
  • This protocol contains information about the objects that will be used for preparing the playlist.

    See more

    Declaration

    Swift

    @objc(LwayvePlaylistItemMetadata)
    public protocol PlaylistItemMetadata : AnyObject
  • This protocol contains information about the objects that will be used for preparing the playlist.

    See more

    Declaration

    Swift

    @objc(LwayvePlaylistItem)
    public protocol PlaylistItem : AnyObject
  • The following methods are available for handling application remote notifications.

    See more

    Declaration

    Swift

    @objc(LwayveApplicationRemoteNotificationsHandler)
    public protocol ApplicationRemoteNotificationsHandler : AnyObject
  • The following methods provide control over audio caching behavior

    See more

    Declaration

    Swift

    public protocol AudioCacheControlProtocol : AnyObject
  • The methods of the protocol allow the delegate to handle the sequence of audio track calling.

    See more

    Declaration

    Swift

    @objc(LwayveAudioControlDelegate)
    public protocol AudioControlDelegate : AnyObject
  • The protocol that provides the additional interface for controlling the audio playback.

    See more

    Declaration

    Swift

    @objc(LwayveAudioPlaybackControlProtocol)
    public protocol AudioPlaybackControlProtocol
  • The following methods provide access to clip contextual actions

    See more

    Declaration

    Swift

    @objc(LwayveClipActionsProtocol)
    public protocol ClipActionsProtocol : AnyObject
  • The protocol provides an additional interface for updating Contextual Audio Experience context and building an appropriate playlist.

    See more

    Declaration

    Swift

    @objc(LwayveContextControlProtocol)
    public protocol ContextControlProtocol
  • The following methods provide additional control over a Contextual Audio Experience. Usually, a host app does not have to use these methods until testing or debugging is needed.

    See more

    Declaration

    Swift

    @objc(LwayveExperienceControlProtocol)
    public protocol ExperienceControlProtocol
  • The following properties provide additional information about the current Contextual Audio Experience.

    See more

    Declaration

    Swift

    @objc(LwayveExperienceSupplementaryInfo)
    public protocol ExperienceSupplementaryInfo : AnyObject
  • The following methods are available for handling generic LWAYVE SDK events.

    See more

    Declaration

    Swift

    @objc
    public protocol LwayveSDKDelegate : AnyObject
  • The following methods are available for controlling the information displayed in the iOS Control Center and on the iOS Lock screen for currently playing audio tracks.

    See more

    Declaration

    Swift

    @objc
    public protocol LwayveNowPlayingInfoProtocol : AnyObject
  • This protocol contains methods for handling playlist updates.

    See more

    Declaration

    Swift

    @objc(LwayvePlayListEventsListener)
    public protocol PlayListEventsListener : AnyObject
  • This protocol provides an interface for controlling the Contextual Audio Experience playlist.

    See more

    Declaration

    Swift

    @objc(LwayvePlaylistControlProtocol)
    public protocol PlaylistControlProtocol