クラス RichMenu

java.lang.Object
com.linecorp.bot.model.richmenu.RichMenu
すべての実装されたインタフェース:
RichMenuCommonProperties

public final class RichMenu
extends java.lang.Object
implements RichMenuCommonProperties
  • ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ クラス 説明
    static class  RichMenu.RichMenuBuilder  
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    static RichMenu.RichMenuBuilder builder()  
    boolean equals​(java.lang.Object o)  
    java.util.List<RichMenuArea> getAreas()
    Array of RichMenuArea objects which define the coordinates and size of tappable areas.
    java.lang.String getChatBarText()
    Text displayed in the chat bar.
    java.lang.String getName()
    Name of the rich menu.
    RichMenuSize getSize()
    RichMenuSize object which contains the width and height of the rich menu displayed in the chat.
    int hashCode()  
    boolean isSelected()
    true to display the rich menu by default.
    RichMenu.RichMenuBuilder toBuilder()  
    java.lang.String toString()  

    クラスから継承されたメソッド java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • メソッドの詳細

    • builder

      public static RichMenu.RichMenuBuilder builder()
    • toBuilder

      public RichMenu.RichMenuBuilder toBuilder()
    • getSize

      public RichMenuSize getSize()
      RichMenuSize object which contains the width and height of the rich menu displayed in the chat.

      Rich menu images must be one of the following sizes: 2500x1686, 2500x843.

      定義:
      getSize インタフェース内 RichMenuCommonProperties
    • isSelected

      public boolean isSelected()
      true to display the rich menu by default. Otherwise, false.
      定義:
      isSelected インタフェース内 RichMenuCommonProperties
    • getName

      public java.lang.String getName()
      Name of the rich menu. This value can be used to help manage your rich menus and is not displayed to users.

      Maximum of 300 characters.

      定義:
      getName インタフェース内 RichMenuCommonProperties
    • getChatBarText

      public java.lang.String getChatBarText()
      Text displayed in the chat bar.

      Maximum of 14 characters.

      定義:
      getChatBarText インタフェース内 RichMenuCommonProperties
    • getAreas

      public java.util.List<RichMenuArea> getAreas()
      Array of RichMenuArea objects which define the coordinates and size of tappable areas.

      Maximum of 20 area objects.

      定義:
      getAreas インタフェース内 RichMenuCommonProperties
    • equals

      public boolean equals​(java.lang.Object o)
      オーバーライド:
      equals クラス内 java.lang.Object
    • hashCode

      public int hashCode()
      オーバーライド:
      hashCode クラス内 java.lang.Object
    • toString

      public java.lang.String toString()
      オーバーライド:
      toString クラス内 java.lang.Object