| | |
| | | Controls sdk auto initailization. |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled; |
| | | |
| | | /** |
| | | Controls sdk crash report |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isInstrumentEnabled) BOOL instrumentEnabled |
| | | __attribute((deprecated("This attribute is no longer used, use autoLogAppEventsEnabled instead."))); |
| | | @property (class, nonatomic, assign, getter=isAutoInitEnabled) BOOL autoInitEnabled |
| | | DEPRECATED_MSG_ATTRIBUTE("Auto-initialization will be removed in the next major version release."); |
| | | |
| | | /** |
| | | Controls the auto logging of basic app events, such as activateApp and deactivateApp. |
| | |
| | | @property (class, nonatomic, assign, getter=isCodelessDebugLogEnabled) BOOL codelessDebugLogEnabled; |
| | | |
| | | /** |
| | | Controls the fb_codeless_debug logging event |
| | | Controls the access to IDFA |
| | | If not explicitly set, the default is true |
| | | */ |
| | | @property (class, nonatomic, assign, getter=isAdvertiserIDCollectionEnabled) BOOL advertiserIDCollectionEnabled; |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookAppID). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *appID; |
| | | @property (class, nonatomic, copy, nullable) NSString *appID; |
| | | |
| | | /** |
| | | The default url scheme suffix used for sessions. |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *appURLSchemeSuffix; |
| | | @property (class, nonatomic, copy, nullable) NSString *appURLSchemeSuffix; |
| | | |
| | | /** |
| | | The Client Token that has been set via [FBSDKSettings setClientToken]. |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookClientToken). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *clientToken; |
| | | @property (class, nonatomic, copy, nullable) NSString *clientToken; |
| | | |
| | | /** |
| | | The Facebook Display Name used by the SDK. |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookDisplayName). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *displayName; |
| | | @property (class, nonatomic, copy, nullable) NSString *displayName; |
| | | |
| | | /** |
| | | The Facebook domain part. This can be used to change the Facebook domain |
| | |
| | | |
| | | If not explicitly set, the default will be read from the application's plist (FacebookDomainPart). |
| | | */ |
| | | @property (class, nonatomic, copy, null_resettable) NSString *facebookDomainPart; |
| | | @property (class, nonatomic, copy, nullable) NSString *facebookDomainPart; |
| | | |
| | | /** |
| | | The current Facebook SDK logging behavior. This should consist of strings |
| | |
| | | @property (class, nonatomic, copy, null_resettable) NSString *graphAPIVersion; |
| | | |
| | | /** |
| | | The value of the flag advertiser_tracking_enabled that controls the advertiser tracking status of the data sent to Facebook |
| | | If not explicitly set in iOS14 or above, the default is false in iOS14 or above. |
| | | */ |
| | | + (BOOL)isAdvertiserTrackingEnabled; |
| | | |
| | | /** |
| | | Set the advertiser_tracking_enabled flag. It only works in iOS14 and above. |
| | | |
| | | @param advertiserTrackingEnabled the value of the flag |
| | | @return Whether the the value is set successfully. It will always return NO in iOS 13 and below. |
| | | */ |
| | | + (BOOL)setAdvertiserTrackingEnabled:(BOOL)advertiserTrackingEnabled; |
| | | |
| | | /** |
| | | Set the data processing options. |
| | | |
| | | @param options list of options |
| | | */ |
| | | + (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options; |
| | | |
| | | /** |
| | | Set the data processing options. |
| | | |
| | | @param options list of the options |
| | | @param country code of the country |
| | | @param state code of the state |
| | | */ |
| | | + (void)setDataProcessingOptions:(nullable NSArray<NSString *> *)options |
| | | country:(int)country |
| | | state:(int)state; |
| | | |
| | | /** |
| | | Enable a particular Facebook SDK logging behavior. |
| | | |
| | | @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. |