mergAccessoryProtocols
Type
function
Summary
Returns a list of protocols that both the accessory and your app support
Syntax
mergAccessoryProtocols(<pName>)
Description
Returns a list of protocols that both the accessory and your app support
Parameters
| Name | Type | Description |
|---|---|---|
pName | A device name as returned by mergAccessoryNames |
Examples
if "p25i" is among the lines of mergAccessoryNames() then
if "com.bluebamboo.p25i" is among the lines of mergAccessoryProtocols("p25i") then
printDocket
else
answer "Printer not connected"
end if
end if
Value
| Name | Type | Description |
|---|---|---|
return | Protocol names in a return separated list |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile