Package com.restfb.types.send
Class WebButton
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.AbstractButton
-
- com.restfb.types.send.WebButton
-
- All Implemented Interfaces:
MenuItem
,Serializable
- Direct Known Subclasses:
DefaultAction
public class WebButton extends AbstractButton implements MenuItem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.restfb.types.send.AbstractButton
title
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFallbackUrl()
Boolean
getMessengerExtensions()
String
getUrl()
WebviewHeightEnum
getWebviewHeightRatio()
void
setDisableSharing(boolean disable)
Set totrue
to disable sharing in the webview (for sensitive info).void
setMessengerExtensions(boolean withMessengerExtensions, String fallbackUrl)
void
setWebviewHeightRatio(WebviewHeightEnum webviewHeightRatio)
-
Methods inherited from class com.restfb.types.send.AbstractButton
getTitle, getType, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Method Detail
-
setMessengerExtensions
public void setMessengerExtensions(boolean withMessengerExtensions, String fallbackUrl)
-
setDisableSharing
public void setDisableSharing(boolean disable)
Set totrue
to disable sharing in the webview (for sensitive info).- Parameters:
disable
-
-
getWebviewHeightRatio
public WebviewHeightEnum getWebviewHeightRatio()
-
setWebviewHeightRatio
public void setWebviewHeightRatio(WebviewHeightEnum webviewHeightRatio)
-
getMessengerExtensions
public Boolean getMessengerExtensions()
-
getFallbackUrl
public String getFallbackUrl()
-
-