Spiral Code Studio Documentation
☰
Defold Extensions
Solar2D Plugins
bluetooth
connect
disconnect
Events
advertising
errorCode
errorMessage
isError
mode
name
timeout
txPowerLevel
init
errorCode
errorMessage
isError
name
scan
device
isError
name
record
rssi
init
isActive
isMultipleAdvertisementSupported
isOffloadedFilteringSupported
isOffloadedScanBatchingSupported
isScanning
newServer
setName
startAdvertising
startScan
stopAdvertising
stopScan
Types
AdvertiseData
includeDeviceName
includeTxPowerLevel
manufacturers
services
Characteristic
addDescriptor
getDescriptor
getDescriptors
getFloatValue
getIntValue
getService
getStringValue
getValue
getWriteType
id
permissions
properties
setFloatValue
setIntValue
setStringValue
setValue
setWriteType
uuid
Descriptor
getCharacteristic
getValue
permissions
setValue
uuid
Device
address
class
connect
createBond
getBondState
majorClass
name
setPairingConfirmation
setPin
type
uuids
Gatt
abortReliableWrite
beginReliableWrite
connect
disconnect
discoverServices
executeReliableWrite
getService
getServices
readCharacteristic
readDescriptor
readRemoteRssi
requestConnectionPriority
requestMtu
setCharacteristicNotification
writeCharacteristic
writeDescriptor
Server
addService
cancelConnection
clearServices
close
connect
getService
getServices
notifyCharacteristicChanged
removeService
sendResponse
Service
addCharacteristic
addService
getCharacteristic
getCharacteristics
getIncludedServices
id
isPrimary
uuid
chrometabs
Events
chrometabs
errorMessage
isError
name
phase
init
mayLaunchUrl
newSession
show
warmup
facebook
Events
fbapplink
argument
errorMessage
isError
name
promotionCode
ref
referer
url
getDeferredAppLinkData
init
logEvent
logPurchase
setLimitEventAndDataUsage
flashlight
false
true
mousecursor
enableDebug
hide
newCursor
show
Types
Cursor
hide
show
nfc
beam
cancelBeam
close
enableDebug
Events
beam
isError
name
peerLlcpMajorVersion
peerLlcpMinorVersion
phase
init
errorCode
errorMessage
isError
name
nfc
errorCode
errorMessage
id
intentType
isError
messages
name
tag
type
writeTag
errorCode
errorMessage
isError
name
init
releaseTag
removeListener
setListener
show
Types
NdefMessage
writeTag
qrscanner
enableDebug
Events
show
errorCode
errorMessage
isError
message
name
symbol
show
Solar2D Plugins
Solar2D Plugins
texttospeech
continue
enableDebug
Events
getLanguagesAndVoices
errorCode
errorMessage
isError
languages
name
voices
init
defaultEngine
engines
errorCode
errorMessage
isError
maxLength
name
onComplete
errorCode
errorMessage
id
isError
name
onContinue
id
isError
name
onPause
id
isError
name
onProgress
audio
count
id
isError
name
start
onStart
id
isError
name
getLanguagesAndVoices
init
isSpeaking
pause
speak
stop
toast
show
vibrator
cancel
hasVibrator
newHaptic
Types
Haptic
invoke
prepare
vibrate
vk
enableDebug
Events
login
errorCode
errorMessage
isError
name
request
errorCode
errorMessage
isError
name
response
showShareDialog
errorCode
errorMessage
isError
name
getAccessToken
getUserId
init
isLoggedIn
login
logout
request
showShareDialog
Types
AccessToken
accessToken
email
expiresIn
isHttpsRequired
secret
timestamp
userId
Image
baseDir
filename
Types
Float
Integer
Navigation :
Defold Extensions
Solar2D Plugins
bluetooth
connect
disconnect
Events
advertising
errorCode
errorMessage
isError
mode
name
timeout
txPowerLevel
init
errorCode
errorMessage
isError
name
scan
device
isError
name
record
rssi
init
isActive
isMultipleAdvertisementSupported
isOffloadedFilteringSupported
isOffloadedScanBatchingSupported
isScanning
newServer
setName
startAdvertising
startScan
stopAdvertising
stopScan
Types
AdvertiseData
includeDeviceName
includeTxPowerLevel
manufacturers
services
Characteristic
addDescriptor
getDescriptor
getDescriptors
getFloatValue
getIntValue
getService
getStringValue
getValue
getWriteType
id
permissions
properties
setFloatValue
setIntValue
setStringValue
setValue
setWriteType
uuid
Descriptor
getCharacteristic
getValue
permissions
setValue
uuid
Device
address
class
connect
createBond
getBondState
majorClass
name
setPairingConfirmation
setPin
type
uuids
Gatt
abortReliableWrite
beginReliableWrite
connect
disconnect
discoverServices
executeReliableWrite
getService
getServices
readCharacteristic
readDescriptor
readRemoteRssi
requestConnectionPriority
requestMtu
setCharacteristicNotification
writeCharacteristic
writeDescriptor
Server
addService
cancelConnection
clearServices
close
connect
getService
getServices
notifyCharacteristicChanged
removeService
sendResponse
Service
addCharacteristic
addService
getCharacteristic
getCharacteristics
getIncludedServices
id
isPrimary
uuid
chrometabs
Events
chrometabs
errorMessage
isError
name
phase
init
mayLaunchUrl
newSession
show
warmup
facebook
Events
fbapplink
argument
errorMessage
isError
name
promotionCode
ref
referer
url
getDeferredAppLinkData
init
logEvent
logPurchase
setLimitEventAndDataUsage
flashlight
false
true
mousecursor
enableDebug
hide
newCursor
show
Types
Cursor
hide
show
nfc
beam
cancelBeam
close
enableDebug
Events
beam
isError
name
peerLlcpMajorVersion
peerLlcpMinorVersion
phase
init
errorCode
errorMessage
isError
name
nfc
errorCode
errorMessage
id
intentType
isError
messages
name
tag
type
writeTag
errorCode
errorMessage
isError
name
init
releaseTag
removeListener
setListener
show
Types
NdefMessage
writeTag
qrscanner
enableDebug
Events
show
errorCode
errorMessage
isError
message
name
symbol
show
Solar2D Plugins
Solar2D Plugins
texttospeech
continue
enableDebug
Events
getLanguagesAndVoices
errorCode
errorMessage
isError
languages
name
voices
init
defaultEngine
engines
errorCode
errorMessage
isError
maxLength
name
onComplete
errorCode
errorMessage
id
isError
name
onContinue
id
isError
name
onPause
id
isError
name
onProgress
audio
count
id
isError
name
start
onStart
id
isError
name
getLanguagesAndVoices
init
isSpeaking
pause
speak
stop
toast
show
vibrator
cancel
hasVibrator
newHaptic
Types
Haptic
invoke
prepare
vibrate
vk
enableDebug
Events
login
errorCode
errorMessage
isError
name
request
errorCode
errorMessage
isError
name
response
showShareDialog
errorCode
errorMessage
isError
name
getAccessToken
getUserId
init
isLoggedIn
login
logout
request
showShareDialog
Types
AccessToken
accessToken
email
expiresIn
isHttpsRequired
secret
timestamp
userId
Image
baseDir
filename
Types
Float
Integer
event.device
Type
Device
Event
onMtuChanged
See also
onMtuChanged
bluetooth.*
Overview