-
- 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 enum
ShareMessengerURLActionButton.WebviewHeightRatio
The display height ratio of the webview when shown in the Messenger app.
public final class
ShareMessengerURLActionButton.Builder
Builder class for ShareMessengerURLActionButton class.
-
Field Summary
Fields Modifier and Type Field Description private final Uri
url
private final Uri
fallbackUrl
private final boolean
isMessengerExtensionURL
private final boolean
shouldHideWebviewShareButton
private final ShareMessengerURLActionButton.WebviewHeightRatio
webviewHeightRatio
public final static Parcelable.Creator<ShareMessengerURLActionButton>
CREATOR
-
Method Summary
Modifier and Type Method Description Uri
getUrl()
Get the URL that this button should open when tapped. Uri
getFallbackUrl()
Get the fallback URL of the button. boolean
getIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions. boolean
getShouldHideWebviewShareButton()
Get whether the webview shows the share button. ShareMessengerURLActionButton.WebviewHeightRatio
getWebviewHeightRatio()
Get the display height ratio of browser. -
-
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.
-
-
-
-