-
- 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 enumShareMessengerURLActionButton.WebviewHeightRatioThe display height ratio of the webview when shown in the Messenger app.
public final classShareMessengerURLActionButton.BuilderBuilder class for ShareMessengerURLActionButton class.
public classShareMessengerURLActionButton.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Uriurlprivate final UrifallbackUrlprivate final BooleanisMessengerExtensionURLprivate final BooleanshouldHideWebviewShareButtonprivate final ShareMessengerURLActionButton.WebviewHeightRatiowebviewHeightRatioprivate final Stringtitle
-
Method Summary
Modifier and Type Method Description final UrigetUrl()Get the URL that this button should open when tapped. final UrigetFallbackUrl()Get the fallback URL of the button. final BooleangetIsMessengerExtensionURL()Get whether the URL is enabled with Messenger Extensions. final BooleangetShouldHideWebviewShareButton()Get whether the webview shows the share button. final ShareMessengerURLActionButton.WebviewHeightRatiogetWebviewHeightRatio()Get the display height ratio of browser. final StringgetTitle()The title displayed to the user for the Messenger action button. final BooleangetIsMessengerExtensionURL()UnitwriteToParcel(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)
-
-
-
-