Package com.linecorp.bot.model.richmenu
Class RichMenuArea
- java.lang.Object
-
- com.linecorp.bot.model.richmenu.RichMenuArea
-
public final class RichMenuArea extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RichMenuArea(RichMenuBounds bounds, Action action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ActiongetAction()Action performed when the area is tapped.RichMenuBoundsgetBounds()Object describing the boundaries of the area in pixels.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
RichMenuArea
public RichMenuArea(RichMenuBounds bounds, Action action)
-
-
Method Detail
-
getBounds
public RichMenuBounds getBounds()
Object describing the boundaries of the area in pixels.
-
getAction
public Action getAction()
Action performed when the area is tapped. SeeActionobjects.Note: The label field is not supported for actions in rich menus.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-