إصدار مجموعة Android SDK
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
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.
public classShareMessengerURLActionButton.Companion
Field Summary
Modifier and TypeFieldDescription
private final Uriurl
private final UrifallbackUrl
private final BooleanisMessengerExtensionURL
private final BooleanshouldHideWebviewShareButton
private final ShareMessengerURLActionButton.WebviewHeightRatiowebviewHeightRatio
private final Stringtitle
Method Summary
Modifier and TypeMethodDescription
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)
Methods inherited from class com.facebook.share.model.ShareMessengerURLActionButton
describeContents
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

getUrl

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

getFallbackUrl

 final UrigetFallbackUrl()
Get the fallback URL of the button.

getIsMessengerExtensionURL

 final BooleangetIsMessengerExtensionURL()
Get whether the URL is enabled with Messenger Extensions.

getShouldHideWebviewShareButton

 final BooleangetShouldHideWebviewShareButton()
Get whether the webview shows the share button.

getWebviewHeightRatio

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

getTitle

 final StringgetTitle()
The title displayed to the user for the Messenger action button.

getIsMessengerExtensionURL

@Deprecated(message = getIsMessengerExtensionURL is deprecated. Use isMessengerExtensionURL instead, replaceWith = @ReplaceWith(imports = {}, expression = isMessengerExtensionURL)) final BooleangetIsMessengerExtensionURL()

writeToParcel

UnitwriteToParcel(Parcel dest, Integer flags)