mergAccessoryProtocols

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAccessoryProtocols(<pName>)
Associationsmergaccessory
Summary

Returns a list of protocols that both the accessory and your app support

Editionpro
Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pName

A device name as returned by mergAccessoryNames

Example
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
Values
NameTypeDescription
return

Protocol names in a return separated list

Description

Returns a list of protocols that both the accessory and your app support

Tagsexternals