点击或拖拽改变大小

Media 方法

Media 类型公开以下成员。

方法
  名称说明
公共方法AddOption(String)
Add an option to the media.
公共方法AddOption(MediaConfiguration)
Convenience method for crossplatform media configuration
公共方法AddOptionFlag
Add an option to the media with configurable flags.
公共方法AddSlave
Add a slave to the current media.
公共方法ClearSlaves

Clear all slaves previously added by libvlc_media_slaves_add() or

internally.

公共方法CodecDescription
Get a media's codec description
公共方法Dispose
Dispose of this instance
(继承自 Internal。)
受保护的方法Dispose(Boolean)
Dispose of this media
(重写 InternalDispose(Boolean).)
公共方法Duplicate
Duplicate a media descriptor object.
公共方法Equals
Equality override for this media instance
(重写 ObjectEquals(Object).)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode
Custom hascode implemenation for this Media instance
(重写 ObjectGetHashCode.)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法Meta
Read the meta of the media.
公共方法Parse
Parse the media asynchronously with options. It uses a flag to specify parse options (see MediaParseOptions). All these flags can be combined. By default, the media is parsed only if it's a local file.

Note: Parsing can be aborted with ParseStop().

公共方法ParseStop
Stop the parsing of the media
公共方法SaveMeta
Save the meta previously set
公共方法SetMeta

Set the meta of the media (this function will not save the meta, call

libvlc_media_save_meta in order to save the meta)

公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见