Android SDK Version
All Implemented Interfaces:
android.os.Parcelable , com.facebook.share.model.ShareModel

@Deprecated() 
public final class ShareMessengerURLActionButton
extends ShareMessengerActionButton
Provides a data model class for a Messenger share URL action button.
Nested Class Summary
Modifier and TypeClassDescription
public enumShareMessengerURLActionButton.WebviewHeightRatio
The display height ratio of the webview when shown in the Messenger app.
public final classShareMessengerURLActionButton.Builder
Builder class for ShareMessengerURLActionButton class.
Field Summary
Modifier and TypeFieldDescription
private final Uriurl
private final UrifallbackUrl
private final booleanisMessengerExtensionURL
private final booleanshouldHideWebviewShareButton
private final ShareMessengerURLActionButton.WebviewHeightRatiowebviewHeightRatio
public final static Parcelable.Creator<ShareMessengerURLActionButton>CREATOR
Method Summary
Modifier and TypeMethodDescription
UrigetUrl() Get the URL that this button should open when tapped.
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.
ShareMessengerURLActionButton.WebviewHeightRatiogetWebviewHeightRatio() Get the display height ratio of browser.
Methods inherited from class com.facebook.share.model.ShareMessengerActionButton
describeContents, getTitle, writeToParcel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getUrl

UrigetUrl()
Get the URL that this button should open when tapped.

getFallbackUrl

@Nullable() UrigetFallbackUrl()
Get the fallback URL of the button.

getIsMessengerExtensionURL

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

getShouldHideWebviewShareButton

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

getWebviewHeightRatio

@Nullable() ShareMessengerURLActionButton.WebviewHeightRatiogetWebviewHeightRatio()
Get the display height ratio of browser.