iPhone 3.0 SDK 能否提供对蓝牙设备(耳机)的完全访问? [英] Can the iPhone 3.0 SDK provide full access to Bluetooth devices (headsets)?

查看:15
本文介绍了iPhone 3.0 SDK 能否提供对蓝牙设备(耳机)的完全访问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此 iPhone 可以与蓝牙耳机配对并使用它来拨打电话(尽管 iPod Touch 3.0 OS 无法与耳机配对,看图).

So an iPhone can pair with a Bluetooth headset and use it to make calls (although an iPod Touch with the 3.0 OS can not pair with a headset, go figure).

但是我可以编写一个应用程序来访问配对的蓝牙设备及其功能(例如耳机的麦克风输入)吗?

But can I write an application that can access paired Bluetooth devices and their functionality (like the microphone input from a headset)?

这在 VoIP 应用程序或什至通过 Wi 玩的多人游戏中很有用-可以使用语音聊天的Fi.

This would be useful in VoIP applications or even multi-player games being played over Wi-Fi that could use voice chat.

推荐答案

如果兼容的蓝牙耳机与设备配对,如果您使用 Core Audio API,它将被透明使用;您无需为您的应用程序添加对蓝牙耳机的特定支持.

If a compatible Bluetooth headset is paired with the device, it will be used transparently if you're using the Core Audio APIs; you do not need to add specific support for Bluetooth headsets to your application.

如果您想专门与蓝牙设备集成,您将需要加入Made for iPod"/Works with iPhone"计划,但这仍然无法让您与任意蓝牙设备通话.兼容的蓝牙设备需要特殊的 Apple 身份验证芯片,这通常意味着您需要专门为 iPhone/iPod 构建自定义设备(例如,TomTom 的车载导航设备).

If you want to integrate specifically with Bluetooth devices, you will need to join the "Made for iPod" / "Works with iPhone" program, but that's still not going to let you talk to any arbitrary Bluetooth device. Compatible Bluetooth devices require a special Apple authentication chip, which usually means you'd need to build a custom device specifically for the iPhone/iPod (for example, TomTom's in-car navigation device).

这篇关于iPhone 3.0 SDK 能否提供对蓝牙设备(耳机)的完全访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆