原生代码:
[[AVAudioSession sharedInstance]setCategory: AVAudioSessionCategoryPlayback
withOptions: AVAudioSessionCategoryOptionMixWithOthers
error: nil]
用js如何实现呢? 目前js只有AVAudioSession.sharedInstance().setCategoryerror 这个方法,没有withOptions 的参数。
原生代码:
[[AVAudioSession sharedInstance]setCategory: AVAudioSessionCategoryPlayback
withOptions: AVAudioSessionCategoryOptionMixWithOthers
error: nil]
用js如何实现呢? 目前js只有AVAudioSession.sharedInstance().setCategoryerror 这个方法,没有withOptions 的参数。
0 个评论
要回复文章请先登录或注册