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