- context
- the Context to use when resolving the Uri
- uri
- the Content URI of the data you want to play
Type Reason Java.Lang.IllegalStateException if it is called in an invalid state Java.IO.IOException Java.Lang.IllegalArgumentException Java.Lang.SecurityException
Sets the data source as a content Uri.