mergAccessoryDisonnected

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAccessoryDisonnected <pName>
Associationsmergaccessory
Summary

Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device

Editionpro
Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pName

A device name.

Example
on openCard
   if the environment = "mobile" then
      mergAccessoryRegisterForNotifications
   end if
end openCard

on mergAccessoryConnected pName
   if pName = "p25i" then
      show button "printDocket"
   end if
end mergAccessoryConnected

on mergAccessoryDisconnected pName
   if pName = "p25i" then
      hide button "printDocket"
   end if
end mergAccessoryDisconnected

Description

Sent to the control that registered for notifications when an accessory with a supported protocol disconnects to the device

Tagsexternals