Type Definitions
The following type definitions are available globally.
-
Callback block containing an array of VLDRecord objects and/or an NSError object.
Declaration
Objective-C
typedef void (^VLDMultiRecordResponseBlock)(NSArray *, NSError *)
Swift
typealias VLDMultiRecordResponseBlock = ([Any]?, Error?) -> Void
-
Callback block containing a VLDServerResponse object or an NSError object.
Declaration
Objective-C
typedef void (^VLDDeleteResponseBlock)(VLDServerResponse *, NSError *)
Swift
typealias VLDDeleteResponseBlock = (VLDServerResponse?, Error?) -> Void
-
Custom log handler block
Declaration
Objective-C
typedef void (^VLDLogHandler)(NSString *, NSString *)
Swift
typealias VLDLogHandler = (String?, String?) -> Void
Parameters
sdkTag
the name of the specific Validic SDK that generated the log.
message
the log message generated by the Validic SDK.