Class URIAction

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  URIAction.AltUri
      An optional uris that will be opened on LINE desktop clients.
    • Constructor Summary

      Constructors 
      Constructor Description
      URIAction​(java.lang.String label, java.net.URI uri, URIAction.AltUri altUri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • URIAction

        public URIAction​(java.lang.String label,
                         java.net.URI uri,
                         URIAction.AltUri altUri)
    • Method Detail

      • getLabel

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

        Max: 20 characters

        Specified by:
        getLabel in interface 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)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object