BRLMChannel

Channel information to your printer.

Overview

You use this object to specify your printer. To send data to your printer, you initialize this class and pass it to BRLMPrinterDriverGenerator. If you change your channel, you initialize this class again.

Instance methods

initWithWifiIPAddress:

Initialize this class with an IP address of your printer to connect through a network.

Declaration

- (instancetype)initWithWifiIPAddress:(NSString *)ipAddress;

Parameters

Name Type Description
ipAddress NSString * IP Address of your printer

initWithBluetoothSerialNumber:

Initialize this class with a serial number of your printer to connect through a bluetooth.

Declaration

- (instancetype)initWithBluetoothSerialNumber:(BRLMExternalAccessorySerialNumber *)serialNumber;
Name Type Description
serialNumber BRLMExternalAccessorySerialNumber * A bluetooth serial number of your printer

initWithBLELocalName:

Initialize this class with a local name of your printer to connect through a bluetooth low energy.

Declaration

- (instancetype)initWithBLELocalName:(NSString *)localName;

Parameters

Name Type Description
localName NSString * A local name for bluetooth low energy of your printer

Properties

channelType

A channel type which is set in initializing you called. For the value set, see BRLMChannelType.

Declaration

@property (nonatomic, readonly) BRLMChannelType channelType;

channelInfo

Channel information such as an IP Address and filepath you passed in initializing.

Declaration

@property (nonatomic, readonly) NSString *channelInfo;

Types

BRLMExternalAccessorySerialNumber

Declaration

typedef NSString BRLMExternalAccessorySerialNumber;