主权项 |
1. A method comprising:
establishing, by a user device, a connection with a first accessory using an accessory protocol; receiving, via the connection, by a first process executing on the user device, a shareable code object from the first accessory; storing, by the first process executing on the user device, the shareable code object in a persistent data store of the user device; adding, by the first process executing on the user device, an entry representing the shareable code object to a list of shareable code objects, the list of shareable code objects being persistently accessible to processes executing on the user device; thereafter reading, by a second process executing on the user device, the entry from the list of shareable code objects; and obtaining, by the second process executing on the user device, the shareable code object from the persistent data store. |