AWSIoTMQTTLastWillAndTestament

Objective-C

@interface AWSIoTMQTTLastWillAndTestament: NSObject

/**
 The topic to publish the Last Will and Testament message to.  Default
 value: @"".
 */
@property(nonatomic, strong) NSString *topic;

/**
 The Last Will and Testament message.  Default value: @"".
 */
@property(nonatomic, strong) NSString *message;

/**
 The Quality of Service to use when publishing the Last Will and Testament
 message.  Default value: AWSIoTMQTTQoSAtMostOnce.
 */
@property(nonatomic, assign) AWSIoTMQTTQoS qos;

@end

Swift

class AWSIoTMQTTLastWillAndTestament : NSObject

Undocumented

  • The topic to publish the Last Will and Testament message to. Default value: @“”.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull topic;

    Swift

    var topic: String { get set }
  • The Last Will and Testament message. Default value: @“”.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull message;

    Swift

    var message: String { get set }
  • qos

    The Quality of Service to use when publishing the Last Will and Testament message. Default value: AWSIoTMQTTQoSAtMostOnce.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTMQTTQoS qos;

    Swift

    var qos: AWSIoTMQTTQoS { get set }