Initializes a new instance of the
AVPlayer class
The stream will not be cached and will be played only once.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public AVPlayer(
string filePath,
List<AudioFormat> formats = null,
AudioConverterType DesiredConverter = AudioConverterType.DMO
)
Public Sub New (
filePath As String,
Optional formats As List(Of AudioFormat) = Nothing,
Optional DesiredConverter As AudioConverterType = AudioConverterType.DMO
)
public:
AVPlayer(
String^ filePath,
List<AudioFormat^>^ formats = nullptr,
AudioConverterType DesiredConverter = AudioConverterType::DMO
)
new :
filePath : string *
?formats : List<AudioFormat> *
?DesiredConverter : AudioConverterType
(* Defaults:
let _formats = defaultArg formats null
let _DesiredConverter = defaultArg DesiredConverter AudioConverterType.DMO
*)
-> AVPlayer
Parameters
- filePath
- Type: SystemString
The path of the playback audio file - formats (Optional)
- Type: System.Collections.GenericListAudioFormat
- DesiredConverter (Optional)
- Type: Ozeki.MediaAudioConverterType
See Also