//
// © 2018-2020 Qualcomm Technologies, Inc. and/or its subsidiaries. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface IoTServiceDiscoveryResult : NSObject

@property (nonatomic, copy, readonly) NSString *identifier;
@property (nonatomic, copy, readonly) NSString *name;
@property (nonatomic, copy, readonly) NSString *host;
@property (nonatomic, copy, readonly) NSString *type;
@property (nonatomic, assign, readonly) NSTimeInterval lastSeen;

+ (instancetype)resultWithIdentifier:(NSString *)identifier
                                name:(NSString *)name
                                host:(NSString *)host
                                type:(NSString *)type;

- (void)markAsSeen;
- (void)markAsExpired;

@end

NS_ASSUME_NONNULL_END
