Class MediaSourceConverter
Class that takes a string representation of a media file location and returns a MeidaSource from the specified resource.
Inheritance
System.Object
Xamarin.Forms.TypeConverter
MediaSourceConverter
Inherited Members
Xamarin.Forms.TypeConverter.CanConvertFrom(System.Type)
Xamarin.Forms.TypeConverter.ConvertToInvariantString(System.Object)
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(MediaSource))]
public sealed class MediaSourceConverter : TypeConverter
Methods
ConvertFromInvariantString(String)
Returns a media source created from a URI that is contained in value.
Declaration
public override object ConvertFromInvariantString(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to convert. |
Returns
Type | Description |
---|---|
System.Object | MediaSource |
Overrides
Xamarin.Forms.TypeConverter.ConvertFromInvariantString(System.String)