Zebra Technologies ZQ110 Saw User Manual


 
ZQ110
Rev. 1.00
- 23 -
Mobile Printer
iOS SDK API Reference Guide
5-3 Instance Methods
5-3-1 getInstance
Obtain the BXPrinterController Class Instance
[Function prototype]
- (BXPrinterController)getInstance
[Return Value]
BXPrinterController class is created and returned automatically the first time that this
method is called.The existing BXPrinterController class is returned thereafter.
[Discussion]
Because BXPrinterController class uses only one instance in one process, it is
recommended that you allow the class instance to be created automatically instead of
creating it manually.
[Availability]
SDK 1.0.0 and later
5-3-2 open
Initialization Task for Using BXPrinterController Class (memory allocation and
background thread operation)
[Function prototype]
- (void)open
[Discussion]
- This task should be performed before calling the main delegate of applications such as
(void)applicationDidBecomeActive:(UIApplication *).
[Availability]
SDK 1.0.0 and later
5-3-3 close
Deallocate Resources
Resources are deallocated while stopping or terminating the use of BXPrinterController
class.
[Discussion]
- This task should be performed before calling the main delegate of applications such as
(void)applicationWillResignActive:(UIApplication *).
When the close method is not called and applications using BXPrinterController are
running in the background, simultaneous use of BXPrinterController by other
applications could be restricted.
[Availability]
SDK 1.0.0 and later