Class MediaUriSource

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Represents a media source with a URI.

    public sealed class MediaUriSource : MediaSource
    Inheritance
    object
    MediaSource
    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
    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
    SetSource(MediaSource)

    Properties

    View Source

    Uri

    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.

    See Also
    SetSource(MediaSource)

    See Also

    SetSource(MediaSource)
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX