]> git.saurik.com Git - apple/security.git/blob - keychain/ot/OTDeviceInformationAdapter.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / ot / OTDeviceInformationAdapter.h
1
2 #import <Foundation/Foundation.h>
3
4 NS_ASSUME_NONNULL_BEGIN
5
6 @protocol OTDeviceInformationAdapter
7
8 /* Returns a string like "iPhone3,5" */
9 - (NSString*)modelID;
10
11 /* Returns the user-entered name for this device */
12 - (NSString* _Nullable)deviceName;
13
14 /* Returns a string describing the current os version */
15 - (NSString*)osVersion;
16
17 /* Returns the serial number as a string. */
18 - (NSString*)serialNumber;
19
20 @end
21
22 @interface OTDeviceInformationActualAdapter : NSObject <OTDeviceInformationAdapter>
23
24 @end
25
26 NS_ASSUME_NONNULL_END