Class MediaSource
Abstract class whose implementors load media contents from files or the Web.
Inheritance
System.Object
MediaSource
Assembly: Tizen.Wearable.CircularUI.Forms.dll
public abstract class MediaSource : Element
Constructors
Declaration
Methods
Returns a new MediaSource that reads from file.
Declaration
public static MediaSource FromFile(string file)
Parameters
Type |
Name |
Description |
System.String |
file |
The file path to use as a media source.
|
Returns
Returns a new MediaSource that reads from uri.
Declaration
public static MediaSource FromUri(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
The uri path to use as a media source.
|
Returns
Declaration
protected void OnSourceChanged()
Operators
Declaration
public static implicit operator MediaSource(string source)
Parameters
Type |
Name |
Description |
System.String |
source |
|
Returns
Declaration
public static implicit operator MediaSource(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
|
Returns