android_audio_plugin 0.0.2 copy "android_audio_plugin: ^0.0.2" to clipboard
android_audio_plugin: ^0.0.2 copied to clipboard

PlatformAndroid

Plugin for turning Android sound on and off

android_audio_plugin #

安卓音频控制相关的Flutter插件。该插件只提供安卓端,用于开启和关闭安卓声音的外放。

Features #

Feature Platform
开启和关闭安卓声音的外放 Andriod

Usage #

import 'dart:io';
import 'package:android_audio_plugin/android_audio_plugin_platform_interface.dart';
if (Platform.isAndroid) {
  await AndroidAudioPluginPlatform.instance.enableSpeakerphone(enable);
}
0
likes
150
pub points
41%
popularity

Publisher

unverified uploader

Plugin for turning Android sound on and off

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, platform, plugin_platform_interface

More

Packages that depend on android_audio_plugin