搜索插件、代码仓与 APP 分类

插件详情v0.1.1

device_call_checker

一个用于检查设备是否处于通话状态(普通通话或VoIP通话)的Flutter插件。

AndroidiOS
近 30 天下载
215
喜欢数
5
Pub 分数
140

安装插件

flutter pub add device_call_checker

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

device_call_checker 包是一个 Flutter 插件,可让应用程序检测设备当前是否处于通话状态,包括传统电话通话和 VoIP 通话。它为 Android 和 iOS 平台提供了一个简单的 API 来检查通话状态,使应用程序能够动态响应正在进行的通话——例如暂停音频播放或调整通知行为。该插件可通过 pub.dev 无缝集成到现有的 Flutter 项目中。

适合场景

  • 检测对暂停媒体播放的主动调用
  • 调整正在进行通话时的应用行为
  • 实现呼叫感知通知
  • 防止通话期间出现音频冲突
  • 支持VoIP应用

主要特点

  • Android 和 iOS 的跨平台支持
  • 用于检查通话状态的简单 API
  • 实时通话状态检测
  • 轻量且易于集成
  • 适用于常规通话和VoIP通话

适合对象

  • 音频和音乐应用
  • VoIP 和通信应用
  • 需要通话感知逻辑的应用程序
  • 开发实时交互功能的开发者
  • 需要系统级通话检测的移动应用

使用建议

  • 需要适当的平台权限
  • 可能无法可靠检测所有后台调用状态
  • iOS 需要在 Info.plist 中进行额外配置
  • 仅限调用状态检测
  • 依赖于底层操作系统调用管理 API

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Device Call Checker

Overview

Device Call Checker is a tool designed to monitor and verify device calls within your system. It ensures that all device interactions are logged and validated for accuracy and reliability.

Features

  • Real-time Monitoring: Continuously monitors device calls in real-time.
  • Logging: Keeps a detailed log of all device interactions.
  • Validation: Verifies the accuracy of each device call.
  • Alerts: Sends notifications for any anomalies detected.

Installation

To install Device Call Checker, follow these steps:

  1. With Flutter :
    $ flutter pub add device_call_checker
    

Usage

To start using Device Call Checker in your Flutter project, follow these steps:

  1. Import the package in your Dart file:

    import 'package:device_call_checker/device_call_checker.dart';
    
  2. Use the Device Call Checker to monitor device calls:

    Future<bool> someFunction() async{
    return await DeviceCallChecker.isDeviceInCall();
    }
    

For more detailed usage and examples, please refer to the official documentation.

Contributing

We welcome contributions! Please read our contributing guidelines for more details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please reach out to us at [sajanbaisil12@gmail.com](mailto:sajanbaisil12@gmail.com).

所属分类

依赖

依赖清单 1 项

  • plugin_platform_interface^2.0.2

源码仓库

使用此插件的项目

暂无相关数据。