Class MediaUriSource
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
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.
See Also
Properties
View SourceUri
Gets the uri.
Declaration
public string Uri { get; }
Property Value
Type | Description |
---|---|
string |
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.