-
- 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
Nested Classes Modifier and Type Class Description public enumShareMessengerURLActionButton.WebviewHeightRatioThe display height ratio of the webview when shown in the Messenger app.
public final classShareMessengerURLActionButton.BuilderBuilder class for ShareMessengerURLActionButton class.
-
Field Summary
Fields Modifier and Type Field Description private final Uriurlprivate final UrifallbackUrlprivate final booleanisMessengerExtensionURLprivate final booleanshouldHideWebviewShareButtonprivate final ShareMessengerURLActionButton.WebviewHeightRatiowebviewHeightRatiopublic final static Parcelable.Creator<ShareMessengerURLActionButton>CREATOR
-
Method Summary
Modifier and Type Method Description 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 android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFallbackUrl
@Nullable() Uri getFallbackUrl()
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.WebviewHeightRatio getWebviewHeightRatio()
Get the display height ratio of browser.
-
-
-
-