Companion

object Companion

Functions

canBeType
Link copied to clipboard
common
inline fun <T : SpotifyUri> canBeType(input: String): Boolean
This function returns whether ot not the given input CAN be a given type.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
invoke
Link copied to clipboard
common
operator fun invoke(input: String): SpotifyUri
Creates a abstract SpotifyUri of given input.
isType
Link copied to clipboard
common
inline fun <T : SpotifyUri> isType(input: String): Boolean
This function returns whether or not the given input IS a given type.
safeInitiate
Link copied to clipboard
common
inline fun <T : SpotifyUri> safeInitiate(uri: String, ctor: (String) -> T): T?
This function safely instantiates a SpotifyUri from given constructor.
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard