DeviceType
public enum DeviceType : String, Codable
The possible devices that can support a Spotify player.
-
A device that supports a desktop Spotify player.
Declaration
Swift
case computer = "Computer" -
A device that supports a mobile Spotify player, such as a smartphone or tablet.
Declaration
Swift
case mobile = "Smartphone" -
A device that supports a speaker-based Spotify player, such as a portable Bluetooth speaker.
Declaration
Swift
case speaker = "Speaker" -
A device that supports a TV-based Spotify player, such as a Chromecast-enabled Smart TV.
Declaration
Swift
case tv = "CastVideo" -
An unknown device type.
Declaration
Swift
case unknown -
Declaration
Swift
public init(rawValue: String)
View on GitHub
DeviceType Enumeration Reference