ios-sdk
ios-sdk copied to clipboard
PlayerAPI `enqueueTrackUri(...)` returns `SPTAppRemoteCallResponse`, not `YES`
Documentation in latest version of SDK says playerAPI.enqueueTrackUri(...)
returns YES on success, but actual return value is an instance of SPTAppRemoteCallResponse
, for which there isn't documentation(?).

Should we just assume enqueue operation succeeded if error is nil, instead of checking for the result
value in SPTAppRemoteCallback
?
Because SPTAppRemoteCallback is a global general callback object, result is of id type. You need to use result and NSError to judge by yourself
typedef void (^SPTAppRemoteCallback)(id _Nullable result, NSError * _Nullable error);