FacebookDialog.VideoMessageDialogBuilder
이 클래스는 더 이상 최신 버전의 SDK에서 사용할 수 없습니다.
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Provides a builder which can construct a FacebookDialog instance suitable for presenting the native Message dialog for sharing videos. This builder will throw an exception if the Messenger application is not installed, so it should only be used if FacebookDialog.canPresentMessageDialog(android.content.Context, com.facebook.widget.FacebookDialog.MessageDialogFeature...) indicates the capability is available.

확장:Builder
패키지:widget
생성자
FacebookDialog.VideoDialogBuilderBase(Activity)

Constructor.

public FacebookDialog.VideoDialogBuilderBase(Activity activity)
매개변수설명
activityThe Activity which is presenting the native Share dialog; must not be null
FacebookDialog.VideoMessageDialogBuilder(Activity)

Constructor.

public FacebookDialog.VideoMessageDialogBuilder(Activity activity)
매개변수설명
activityThe Activity which is presenting the native Message dialog; must not be null
인스턴스 메서드
setPlace(String)

Sets the place for the item to be shared.

public VideoDialogBuilderBase setPlace(String place)
매개변수설명
placeThe Facebook ID of the place
Returns
This instance of the builder
addVideoFile(File)

Adds a video to display in the native Share dialog, by specifying the location in the file system. The dialog's callback will be called once the user has shared the video, but the video may be uploaded in the background by the Facebook app; apps wishing to be notified when the video upload has succeeded or failed should extend the FacebookBroadcastReceiver class and register it in their AndroidManifest.xml.

public VideoDialogBuilderBase addVideoFile(File video)
매개변수설명
videoA Files representing the video to be uploaded
Returns
This instance of the builder
setVideoUrl(String)

Sets the video url to display in the native Share dialog, by specifying the content:// or file:/// uri. The dialog's callback will be called once the user has shared the video, but the video may be uploaded in the background by the Facebook app; apps wishing to be notified when the video upload has succeeded or failed should extend the FacebookBroadcastReceiver class and register it in their AndroidManifest.xml.

public VideoDialogBuilderBase setVideoUrl(String videoUrl)
매개변수설명
videoUrlA url of the video in the form of content:// or file:///
Returns
This instance of the builder