STFeature
This protocol is adopted by the various features of the SDK.
Info:
It supplies a common syntax to acces the various features objects: STPlayer, STSections, STHistory, STWishList, STBookmarked, STLibrary, STOffline.
-
Returns the shared instance of the feature, adn throws an error if your plan doesn’t include this feature
-
sharedDefault implementationReturns the same result as the
getInstance()method, without throwing. Can be seen as a shortcut intended to allow a more concise syntax.Default Implementation
STFeature Protocol Reference