FBMediaViewDelegate

The methods declared by the FBMediaViewDelegate protocol allow the adopting delegate to respond to messages from the FBMediaView class and thus respond to operations such as whether the media content has been loaded.

Extends Protocol:NSObject
Declared in:FBMediaView.h
วิธีการทันใจ
mediaView:videoVolumeDidChange:

Sent when an FBMediaView has changed the playback volume of a video ad.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

volume

The current ad video volume (after the volume change).

- (void)
mediaView: (FBMediaView *)mediaView
videoVolumeDidChange: (float)volume;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewDidExitFullscreen:

Sent after an FBMediaView has exited the fullscreen layout.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewDidExitFullscreen:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewDidLoad:

Sent when an FBMediaView has been successfully loaded.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewDidLoad:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewVideoDidComplete:

Sent when a video ad in an FBMediaView reaches the end of playback.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewVideoDidComplete:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewVideoDidPause:

Sent after a video ad in an FBMediaView enters a paused state.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewVideoDidPause:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewVideoDidPlay:

Sent after a video ad in an FBMediaView enters a playing state.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewVideoDidPlay:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h
mediaViewWillEnterFullscreen:

Sent just before an FBMediaView will enter the fullscreen layout.

พารามิเตอร์คำอธิบาย
mediaView

An FBMediaView object sending the message.

- (void) mediaViewWillEnterFullscreen:(FBMediaView *)mediaView;
ให้คำรับรองไว้ใน: FBMediaView.h