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.

Tasks

Properties

  • – code

    The code of this result

    required method

Classification

Instance Methods

code

The code of this result

- (ORDAResultCode)code

Return Value

the code

Declared In

ORDAResult.h

isError

true if this result’s code is an error code

- (BOOL)isError

Return Value

true if this result’s code is an error code

Declared In

ORDAResult.h