OTDeviceInformationAdapter.h [plain text]
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol OTDeviceInformationNameUpdateListener
- (void)deviceNameUpdated;
@end
@protocol OTDeviceInformationAdapter
- (NSString*)modelID;
- (NSString* _Nullable)deviceName;
- (NSString*)osVersion;
- (NSString* _Nullable)serialNumber;
- (void)registerForDeviceNameUpdates:(id<OTDeviceInformationNameUpdateListener>)listener;
@end
@interface OTDeviceInformationActualAdapter : NSObject <OTDeviceInformationAdapter>
@end
NS_ASSUME_NONNULL_END