iOS应用程序如何设置核心蓝牙广告费率? [英] how can iOS app set the Core Bluetooth advertisement rate?

查看:144
本文介绍了iOS应用程序如何设置核心蓝牙广告费率?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行iPad的iOS应用程序过于频繁,后来似乎在向我的嵌入式蓝牙LE设备发送垃圾邮件,该设备正在从iPad上读取广告数据。

My iOS app running iPad is advertising too often, and subsequently seems to be spamming my embedded Bluetooth LE device, which is reading data out of ad from iPad.

如何降低iPad的广告费用?

How can I slow down iPad rate of advertising?

推荐答案

广告费率无法在Core Bluetooth中设置。没有公共API可以让你这样做。

Advertisement rate is not settable in Core Bluetooth. There is no public API that enables you to do it.

当你的应用程序在前台时,广告会很快,而在后台它会有限,最重要的是降低速率,删除广告服务和未使用本地名称。

While your application is in the foreground, the advertisement will be fast, and in the background it will be limited, most importantly rate throttled down, advertised services removed and local name not used.

这篇关于iOS应用程序如何设置核心蓝牙广告费率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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