-
- All Implemented Interfaces:
-
android.os.Parcelable
,com.facebook.share.model.ShareModel
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.
public class
ShareMessengerURLActionButton.Companion
-
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
private final String
title
-
Method Summary
Modifier and Type Method Description final Uri
getUrl()
Get the URL that this button should open when tapped. final Uri
getFallbackUrl()
Get the fallback URL of the button. final Boolean
getIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions. final Boolean
getShouldHideWebviewShareButton()
Get whether the webview shows the share button. final ShareMessengerURLActionButton.WebviewHeightRatio
getWebviewHeightRatio()
Get the display height ratio of browser. final String
getTitle()
The title displayed to the user for the Messenger action button. final Boolean
getIsMessengerExtensionURL()
Unit
writeToParcel(Parcel dest, Integer flags)
-
-
Method Detail
-
getFallbackUrl
final Uri getFallbackUrl()
Get the fallback URL of the button.
-
getIsMessengerExtensionURL
final Boolean getIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions.
-
getShouldHideWebviewShareButton
final Boolean getShouldHideWebviewShareButton()
Get whether the webview shows the share button.
-
getWebviewHeightRatio
final ShareMessengerURLActionButton.WebviewHeightRatio getWebviewHeightRatio()
Get the display height ratio of browser.
-
getIsMessengerExtensionURL
@Deprecated(message = getIsMessengerExtensionURL is deprecated. Use isMessengerExtensionURL instead, replaceWith = @ReplaceWith(imports = {}, expression = isMessengerExtensionURL)) final Boolean getIsMessengerExtensionURL()
-
writeToParcel
Unit writeToParcel(Parcel dest, Integer flags)
-
-
-
-