Skip to content

Instantly share code, notes, and snippets.

@inC3ASE
Created October 14, 2016 01:12
Show Gist options
  • Save inC3ASE/83dc70aeff4a451dc6f427c24cb97912 to your computer and use it in GitHub Desktop.
Save inC3ASE/83dc70aeff4a451dc6f427c24cb97912 to your computer and use it in GitHub Desktop.
CoreTelephony.framework
/*
* CTSubscriber.h
* CoreTelephony
*
* Copyright 2012 Apple, Inc.. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import <CoreTelephony/CoreTelephonyDefines.h>
NS_ASSUME_NONNULL_BEGIN
/*
* CTSubscriberTokenRefreshed
*
* Description:
* The name of the NSNotification sent when the carrier token is available.
*/
CORETELEPHONY_EXTERN NSString * const CTSubscriberTokenRefreshed __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
CORETELEPHONY_CLASS_AVAILABLE(7_0)
@interface CTSubscriber : NSObject
/*
* carrierToken
*
* Description:
* A data blob containing authorization information about the subscriber.
*
* May return nil if no token is available.
*/
@property (nonatomic, readonly, retain, nullable) NSData* carrierToken __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_7_0);
@end
NS_ASSUME_NONNULL_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment