EMDsFormattingFactory Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | EMDsFormattingFactory.h |
Overview
A factory for creating DS related entities.
For information on how use custom templates and primitives, please read The Programmer’s Guide.
– createDsDeviceWithToken:error:
Creates a DS device for the given token.
- (id<EMDsFormattingDevice>)createDsDeviceWithToken:(id<EMToken>)token error:(NSError **)errorParameters
token |
The token. |
|---|---|
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
The DS device.
Declared In
EMDsFormattingFactory.h
– createDsDeviceWithToken:dsConfigurationPath:error:
Creates a DS device for the given token.
- (id<EMDsFormattingDevice>)createDsDeviceWithToken:(id<EMToken>)token dsConfigurationPath:(NSString *)path error:(NSError **)errorParameters
token |
The token. |
|---|---|
path |
The path to a custom Dynamic Signature configuration file. |
error |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
The DS device.
Declared In
EMDsFormattingFactory.h
– createDsTransactionData
Creates an empty EMDsTransactionData
- (id<EMDsTransactionData>)createDsTransactionDataReturn Value
The EMDsTransactionData.
Availability
2.1
Discussion
This factory should be used in connected mode where no template is used to have a list of primitive.
Declared In
EMDsFormattingFactory.h