クラス URIAction

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

public final class URIAction
extends java.lang.Object
implements Action
When this action is tapped, the URI specified in the uri field is opened.

This action can NOT be configured with quick reply buttons.

関連項目:
//developers.line.me/en/reference/messaging-api/#uri-action
  • ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ クラス 説明
    static class  URIAction.AltUri
    An optional uris that will be opened on LINE desktop clients.
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ 説明
    URIAction​(java.lang.String label, java.net.URI uri, URIAction.AltUri altUri)  
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    boolean equals​(java.lang.Object o)  
    URIAction.AltUri getAltUri()
    URI that opened on LINE desktop clients when the action is performed.
    java.lang.String getLabel()
    Label for the action.
    java.net.URI getUri()
    URI opened when the action is performed.
    int hashCode()  
    java.lang.String toString()  

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

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • コンストラクタの詳細

    • URIAction

      public URIAction​(java.lang.String label, java.net.URI uri, URIAction.AltUri altUri)
  • メソッドの詳細

    • getLabel

      public java.lang.String getLabel()
      Label for the action.

      Max: 20 characters

      定義:
      getLabel インタフェース内 Action
    • getUri

      public java.net.URI getUri()
      URI opened when the action is performed.

      Available values are: http, https, tel

    • getAltUri

      public URIAction.AltUri getAltUri()
      URI that opened on LINE desktop clients when the action is performed. If this property is set, uri is ignored on LINE for macOS and Windows.
    • 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