BRLMChannelCredential
BRLMChannelCredential is an object to provide the printer administrator password for secure connections between the application and the printer.
Overview
You use this object to specify the administrator password when a printer supports secure connection or command security. To send data to your printer securely, you initialize this class and pass it to BRLMPrinterDriverGenerator
when required.
Instance methods
initWithPrinterAdminPassword:
Initialize this class with the administrator password of your printer.
Declaration
- (instancetype)initWithPrinterAdminPassword:(NSString *)password;
Parameters
Name | Type | Description |
---|---|---|
password | NSString * | Printer administrator password |
Properties
password
The administrator password set at initialization.
Declaration
@property (nonatomic, copy, readonly, nullable) NSString *password;
type
Credential type. Currently only BRLMChannelCredentialTypePrinterAdminPassword
is supported.
Declaration
@property (nonatomic, readonly) BRLMChannelCredentialType type;
Types
BRLMChannelCredentialType
Declaration
typedef NS_ENUM(NSInteger, BRLMChannelCredentialType) {
BRLMChannelCredentialTypePrinterAdminPassword
};
Notes
- If the credential is invalid or missing, the connection will succeed, but operations that require authentication (such as network transfer) will fail with an authentication error.
This document describes the usage of BRLMChannelCredential for iOS SDK as of 2025/6. Please refer to the SDK API references for detailed implementation.