- context
- the Context to use when resolving the Uri
- uri
- the Content URI of the data you want to play
Type Reason Java.Lang.IllegalArgumentException if the Uri is invalid Java.Lang.SecurityException if the Uri cannot be used due to lack of permission.
Sets the data source as a content Uri. Call this method before the rest of the methods in this class. This method may be time-consuming.