Class MediaSource
Abstract class whose implementors load media contents from files or the Web.
Inheritance
System.Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
MediaSource
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IElementController
Inherited Members
Xamarin.Forms.Element.MenuProperty
Xamarin.Forms.Element.AutomationIdProperty
Xamarin.Forms.Element.ClassIdProperty
Xamarin.Forms.Element.GetMenu(Xamarin.Forms.BindableObject)
Xamarin.Forms.Element.SetMenu(Xamarin.Forms.BindableObject, Xamarin.Forms.Menu)
Xamarin.Forms.Element.Xamarin.Forms.IElementController.SetValueFromRenderer(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.Element.FindByName(System.String)
Xamarin.Forms.Element.RemoveDynamicResource(Xamarin.Forms.BindableProperty)
Xamarin.Forms.Element.SetDynamicResource(Xamarin.Forms.BindableProperty, System.String)
Xamarin.Forms.Element.OnBindingContextChanged()
Xamarin.Forms.Element.OnChildAdded(Xamarin.Forms.Element)
Xamarin.Forms.Element.OnChildRemoved(Xamarin.Forms.Element)
Xamarin.Forms.Element.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Xamarin.Forms.Element.OnParentSet()
Xamarin.Forms.Element.OnPropertyChanged(System.String)
Xamarin.Forms.Element.AutomationId
Xamarin.Forms.Element.ClassId
Xamarin.Forms.Element.Effects
Xamarin.Forms.Element.Id
Xamarin.Forms.Element.StyleId
Xamarin.Forms.Element.Parent
Xamarin.Forms.Element.ChildAdded
Xamarin.Forms.Element.ChildRemoved
Xamarin.Forms.Element.DescendantAdded
Xamarin.Forms.Element.DescendantRemoved
Xamarin.Forms.BindableObject.BindingContextProperty
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
Xamarin.Forms.BindableObject.ApplyBindings()
Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
Xamarin.Forms.BindableObject.UnapplyBindings()
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.Dispatcher
Xamarin.Forms.BindableObject.BindingContext
Xamarin.Forms.BindableObject.PropertyChanged
Xamarin.Forms.BindableObject.PropertyChanging
Xamarin.Forms.BindableObject.BindingContextChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tizen.Theme.Common
Assembly: Tizen.Theme.Common.dll
Syntax
[TypeConverter(typeof(MediaSourceConverter))]
public abstract class MediaSource : Element, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IStyleSelectable
Constructors
MediaSource()
Declaration
protected MediaSource()
Methods
FromFile(String)
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
Type | Description |
---|---|
MediaSource | Returns the MediaSource. |
FromUri(Uri)
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
Type | Description |
---|---|
MediaSource | Returns the MediaSource. |
OnSourceChanged()
Declaration
protected void OnSourceChanged()
Operators
Implicit(String to MediaSource)
Declaration
public static implicit operator MediaSource(string source)
Parameters
Type | Name | Description |
---|---|---|
System.String | source |
Returns
Type | Description |
---|---|
MediaSource |
Implicit(Uri to MediaSource)
Declaration
public static implicit operator MediaSource(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri |
Returns
Type | Description |
---|---|
MediaSource |
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IElementController