ORDAResult Protocol Reference
Conforms to | NSObject |
Declared in | ORDAResult.h |
Overview
The ORDAResult protocol defines the base type for everything in the ORDA API. Consumers of the API must be aware that, for any method that returns an object that conforms to this protocol, that object can only be expected to actually be the advertized type if it’s code is kORDASuccessResultCode. If the code is any other value, the object is likely an instance of some other class, namely an error result class (not exposed by the API). Currently, the only non-success codes are error codes, so if the code is non-success, isError must be true. This may change in the future.