Class MediaUriSource
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 3
Represents a media source with a uri.
public sealed class MediaUriSource : MediaSource
- Inheritance
Remarks
The internet privilege(http://tizen.org/privilege/internet) must be added if any URLs are used to play from a network. The mediastorage privilege(http://tizen.org/privilege/mediastorage) must be added if any video/audio files are used to play located in the internal storage. The externalstorage privilege(http://tizen.org/privilege/externalstorage) must be added if any video/audio files are used to play located in the external storage.
Constructors
View SourceMediaUriSource(String)
Initializes a new instance of the MediaUriSource class with the specified uri.
Declaration
public MediaUriSource(string uri)
Parameters
Type | Name | Description |
---|---|---|
String | uri | The uri string. |
Remarks
For HTTP or RSTP, uri should start with "http://" or "rtsp://". The default protocol is "file://". If you provide an invalid uri, you won't receive an error until Start() is called.
API Level: 3
Properties
View SourceUri
Gets the uri.
Declaration
public string Uri { get; }
Property Value
Type | Description |
---|---|
String |