gpt4 book ai didi

android - 什么是蓝牙?

转载 作者:行者123 更新时间:2023-11-30 01:33:21 24 4
gpt4 key购买 nike

我是 android 开发平台的新手。我遇到了一行代码

IBluetooth bluetoothProxy = BuetoothAdapter.getDefaultAdapter().getBluetoothService(null);

在蓝牙 Socket.java 类中。

很高兴知道幕后究竟发生了什么。

最佳答案

在 Google 上搜索“IBlutooth android”会给出指向 the source code 的链接.它是一个写在 Android Interface Definition Language (AIDL) 中的接口(interface)。 . (我不得不再次搜索以找出 AIDL 是什么。Google 太棒了!)

关于android - 什么是蓝牙?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35465391/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com