UserContext
@objc(LwayveUserContext)
public final class UserContext : NSObject
An object of the class represents context which is used to generate a user specific Contextual Audio Experience playlist.
-
The user’s date/time in the UTC time zone.
Declaration
Swift
public let time: Date
-
The time offset which will be applied to actual time to simulate different user time without changin actual OS time.
Declaration
Swift
public let timeOffset: TimeInterval
-
The list of locations.
Declaration
Swift
public let locations: Set<Location>
-
The list of user likes.
Declaration
Swift
public let tags: Set<Tag>
-
If the experience contains nodes marked with the tag, the clips with the tag will be played before other clips
Declaration
Swift
public let exclusiveTag: Tag?
-
The list of identifiers for the played audio tracks.
Declaration
Swift
public let playedPlaylistItemIds: Set<String>
-
Undocumented
Declaration
Swift
public func encode(with aCoder: NSCoder)
-
Undocumented
Declaration
Swift
public convenience init?(coder aDecoder: NSCoder)