Add a slave to the current media player.
note If the player is playing, the slave will be added directly. This call
will also update the slave list of the attached VLC::Media.
命名空间:
LibVLCSharp.Shared
程序集:
CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法 public bool AddSlave(
MediaSlaveType type,
string uri,
bool select
)
参数
- type
- 类型:LibVLCSharp.SharedMediaSlaveType
subtitle or audio - uri
- 类型:SystemString
Uri of the slave (should contain a valid scheme). - select
- 类型:SystemBoolean
True if this slave should be selected when it's loaded
返回值
类型:
Boolean[缺少 "M:LibVLCSharp.Shared.MediaPlayer.AddSlave(LibVLCSharp.Shared.MediaSlaveType,System.String,System.Boolean)" 的 <returns> 文档]
参见