Android SDK Version
All Implemented Interfaces:

public final class ShareMessengerURLActionButton
extends ShareMessengerActionButton
Provides a data model class for a Messenger share URL action button.
Nested Class Summary
Modifier and TypeClass and Description
static class ShareMessengerURLActionButton.Builder
Builder class for ShareMessengerURLActionButton class.
static class ShareMessengerURLActionButton.WebviewHeightRatio
The display height ratio of the webview when shown in the Messenger app.
Field Summary
Modifier and TypeField and Description
static <any>CREATOR 
Method Summary
Modifier and TypeMethod and Description
UrigetFallbackUrl()
Get the fallback URL of the button.
booleangetIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions.
booleangetShouldHideWebviewShareButton()
Get whether the webview shows the share button.
UrigetUrl()
Get the URL that this button should open when tapped.
ShareMessengerURLActionButton.WebviewHeightRatiogetWebviewHeightRatio()
Get the display height ratio of browser.
Methods inherited from class com.facebook.share.model.
describeContents, getTitle, writeToParcel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

CREATOR

public static final <any> CREATOR
Method Detail

getUrl

public Uri getUrl()
Get the URL that this button should open when tapped.

getIsMessengerExtensionURL

public boolean getIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions.

getFallbackUrl

public Uri getFallbackUrl()
Get the fallback URL of the button.

getWebviewHeightRatio

public ShareMessengerURLActionButton.WebviewHeightRatio getWebviewHeightRatio()
Get the display height ratio of browser.

getShouldHideWebviewShareButton

public boolean getShouldHideWebviewShareButton()
Get whether the webview shows the share button.