クラス ContentProvider
java.lang.Object
com.linecorp.bot.model.event.message.ContentProvider
public final class ContentProvider
extends java.lang.Object
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
ContentProvider.ContentProviderBuilder
-
メソッドの概要
修飾子とタイプ メソッド 説明 static ContentProvider.ContentProviderBuilder
builder()
boolean
equals(java.lang.Object o)
java.net.URI
getOriginalContentUrl()
URL of the resource.java.net.URI
getPreviewImageUrl()
URL of the preview resource.java.lang.String
getType()
Provider of the resource.int
hashCode()
boolean
isExternal()
ContentProvider.ContentProviderBuilder
toBuilder()
java.lang.String
toString()
クラスから継承されたメソッド java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
メソッドの詳細
-
isExternal
public boolean isExternal() -
builder
-
toBuilder
-
getType
public java.lang.String getType()Provider of the resource. OnlyLINE
orEXTERNAL
can be set.-
line
: LINE. The binary data can be retrieved from the content endpoint. -
external
: Provider other than LINE
-
-
getOriginalContentUrl
public java.net.URI getOriginalContentUrl()URL of the resource. Only included whentype
isEXTERNAL
. -
getPreviewImageUrl
public java.net.URI getPreviewImageUrl()URL of the preview resource. Only included whentype
isEXTERNAL
. -
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
-