MethodChannelAmrPlugin class

An implementation of AmrPluginPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertAmrToWav(String amrPath, {int sampleRate = 22050}) Future<String?>
将AMR文件转换为WAV文件
override
convertWavToAmr(String wavPath, {int sampleRate = 8000, int bitRate = 12200}) Future<String?>
将WAV文件转换为AMR文件
override
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
testMediaCodecSupport() Future<Map<String, dynamic>?>
测试MediaCodec支持情况
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited