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

The FBWebDialogsDelegate protocol enables the plugging of advanced behaviors into the presentation flow of a Facebook web dialog. Advanced uses include modification of parameters and application-level handling of links on the dialog. The FBFrictionlessRequestFriendCache class implements this protocol to add frictionless behaviors to a presentation of the request dialog.

Extends Protocol:NSObject
Declared in:FBWebDialogs.h
طرق المثيلات
webDialogsDialog:parameters:session:shouldAutoHandleURL:

Called when the user of a dialog clicks a link that would cause a transition away from the application. Your application may handle this method, and return NO if the URL handling will be performed by the application.

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

A string representing the method or dialog name of the dialog being presented.

parameters

A dictionary of parameters which were sent to the dialog.

session

The session object to use with the dialog.

url

The url in question, which will not be handled by the SDK if this method NO

- (BOOL)
webDialogsDialog: (NSString *)dialog
parameters: (NSDictionary *)parameters
session: (FBSession *)session
shouldAutoHandleURL: (NSURL *)url;
تم الكشف في: FBWebDialogs.h
webDialogsWillDismissDialog:parameters:session:result:url:error:

Called when the dialog is about to be dismissed

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

A string representing the method or dialog name of the dialog being presented.

parameters

A dictionary of parameters which were sent to the dialog.

session

The session object to use with the dialog.

result

A pointer to a result, which may be read or changed by the handling method as needed

url

A pointer to a pointer to a URL representing the URL returned by the dialog, which may be read or changed by this mehthod

error

A pointer to a pointer to an error object which may be read or changed by this method as needed

- (void)
webDialogsWillDismissDialog: (NSString *)dialog
parameters: (NSDictionary *)parameters
session: (FBSession *)session
result: (FBWebDialogResult *)result
url: (NSURL **)url
error: (NSError **)error;
تم الكشف في: FBWebDialogs.h
webDialogsWillPresentDialog:parameters:session:

Called prior to the presentation of a web dialog

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

A string representing the method or dialog name of the dialog being presented.

parameters

A mutable dictionary of parameters which will be sent to the dialog.

session

The session object to use with the dialog.

- (void)
webDialogsWillPresentDialog: (NSString *)dialog
parameters: (NSMutableDictionary *)parameters
session: (FBSession *)session;
تم الكشف في: FBWebDialogs.h