Class MediaUriSource

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
3

Represents a media source with a uri.

C#
Copy
public sealed class MediaUriSource : MediaSource
Inheritance
System.Object
MediaUriSource
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 Source

MediaUriSource(String)

Initializes a new instance of the MediaUriSource class with the specified uri.

Declaration
C#
Copy
public MediaUriSource(string uri)
Parameters
Type Name Description
System.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 Source

Uri

Gets the uri.

Declaration
C#
Copy
public string Uri { get; }
Property Value
Type Description
System.String
API Level: 3

See Also