Bu sayfa, 2020'de kullanımdan kaldırılan Chrome Uygulamaları platformu dokümanlarının bir parçasıdır. ChromeOS Enterprise ve Education müşterileri için bu özellik en az Ocak 2025'e kadar desteklenmeye devam edecektir. Uygulamanızı taşıma hakkında daha fazla bilgi edinin.
bluetooth manifest özelliği, bluetooth için hangi izinlerin kullanılabildiğini bildirir.
API'ye gidin.
Örnek manifest.json
{"name":"MyBluetoothapp","bluetooth":{// Permission for chrome.bluetoothSocket:// The application is allowed to communicate with devices// using the protocols, profiles, or services identified by// the UUIDs 0x1105 and 0x1106 using the BluetoothSocket API."uuids":["1105","1106"],"socket":true},...}
{"name":"MyBluetoothapp","bluetooth":{// Permission for chrome.bluetoothLowEnergy:// The application is allowed to communicate with devices// using the profiles identified by the UUIDs 0x180D, 0x1809 and 0x180F// using the BluetoothLowEnergy API."uuids":["180D","1809","180F"],"low_energy":true},...}
Referans
uuids (dize dizisi) - isteğe bağlı
uuids manifest özelliği, bir uygulamanın yerleştirdiği protokol, profil ve hizmetlerin listesini tanımlar
iletişim kurabildiğinizi gösterir.
socket (boole) - isteğe bağlı
true değeri, uygulamanın bluetoothSocket API'sini kullanmasına izin verir.
low_energy (boole) - isteğe bağlı
true değeri, bir uygulamaya bluetoothLowEnergy API'yi kullanma izni verir
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2014-03-11 UTC."],[],[]]