FBSettings
لم تعد هذه الفئة متوفر في أحدث إصدار من SDK.
يتوفر إصدار أحدث لهذه الفئة. يرجى التحقق أحدث إصدار.
طرق الفئات
loggingBehavior

Retrieve the current Facebook SDK logging behavior.

+ (NSSet *) loggingBehavior;
تم الكشف في: FBSettings.h
publishInstall:

Manually publish an attributed install to the facebook graph. Use this method if you have disabled auto publish and wish to manually send an install from your code. This method acquires the current attribution id from the facebook application, queries the graph API to determine if the application has install attribution enabled, publishes the id, and records success to avoid reporting more than once.

المعلمةالوصف
appID

A specific appID to publish an install for. If nil, uses [FBSession defaultAppID].

+ (void) publishInstall:(NSString *)appID;
تم الكشف في: FBSettings.h
setLoggingBehavior:

Set the current Facebook SDK logging behavior. This should consist of strings defined as constants with FBLogBehavior*, and can be constructed with [NSSet initWithObjects:].

المعلمةالوصف
loggingBehavior

A set of strings indicating what information should be logged.

+ (void) setLoggingBehavior:(NSSet *)loggingBehavior;
تم الكشف في: FBSettings.h
setShouldAutoPublishInstall:

Sets whether the SDK will automatically publish an install to Facebook during first FBSession init or on first network request to Facebook.

المعلمةالوصف
autoPublishInstall

If YES, automatically publish the install; if NO, do not.

+ (void) setShouldAutoPublishInstall:(BOOL)autoPublishInstall;
تم الكشف في: FBSettings.h
shouldAutoPublishInstall

Retreive the current auto publish behavior. Defaults to YES.

+ (BOOL) shouldAutoPublishInstall;
تم الكشف في: FBSettings.h
القيم الثابتة
FBLoggingBehaviorAccessTokens
extern NSString *const FBLoggingBehaviorAccessTokens;
Discussion:

Include access token in logging.

تم الكشف في: FBSettings.h
FBLoggingBehaviorFBRequests
extern NSString *const FBLoggingBehaviorFBRequests;
Discussion:

Log requests from FBRequest* classes

تم الكشف في: FBSettings.h
FBLoggingBehaviorFBURLConnections
extern NSString *const FBLoggingBehaviorFBURLConnections;
Discussion:

Log requests from FBURLConnection* classes

تم الكشف في: FBSettings.h
FBLoggingBehaviorPerformanceCharacteristics
extern NSString *const FBLoggingBehaviorPerformanceCharacteristics;
Discussion:

Log performance characteristics

تم الكشف في: FBSettings.h
FBLoggingBehaviorSessionStateTransitions
extern NSString *const FBLoggingBehaviorSessionStateTransitions;
Discussion:

Log session state transitions.

تم الكشف في: FBSettings.h