Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef void(^AWSIoTMQTTNewMessageBlock)(NSData *data)

    Swift

    typealias AWSIoTMQTTNewMessageBlock = (Data) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^AWSIoTMQTTExtendedNewMessageBlock)(NSObject *mqttClient, NSString *topic, NSData *data)

    Swift

    typealias AWSIoTMQTTExtendedNewMessageBlock = (NSObject, String, Data) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^AWSIoTMQTTFullMessageBlock)(NSString *topic, AWSIoTMessage *message)

    Swift

    typealias AWSIoTMQTTFullMessageBlock = (String, AWSIoTMessage) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^AWSIoTMQTTAckBlock)(void)

    Swift

    typealias AWSIoTMQTTAckBlock = () -> Void