A utility class for discovering printers on the network. More...
#include <NetworkDiscover.h>
Class Methods | |
| (NSArray< NSString * > *) | + getPrinterList |
| Gets a list of all discovered printers on the network. | |
| (NSArray< NSString * > *) | + getPrinterListWithBrand: |
| Gets a list of discovered printers filtered by brand. | |
| (NSArray< NSString * > *) | + getPrinterListWithBrand:timeout: |
| Gets a list of discovered printers filtered by brand, with a timeout. | |
A utility class for discovering printers on the network.
This class provides static methods to search for available printers, optionally filtering by brand or specifying a timeout.
| + (NSArray< NSString * > *) getPrinterList |
Gets a list of all discovered printers on the network.
| + (NSArray< NSString * > *) getPrinterListWithBrand: | (PrinterBrand) | brand |
Gets a list of discovered printers filtered by brand.
| brand | The printer brand to filter by. |
| + (NSArray< NSString * > *) getPrinterListWithBrand: | (PrinterBrand) | brand | |
| timeout: | (NSInteger) | timeoutMs |
Gets a list of discovered printers filtered by brand, with a timeout.
| brand | The printer brand to filter by. |
| timeoutMs | The timeout duration in milliseconds. |