Package ch.threema.apitool.results
Class CapabilityResult
java.lang.Object
ch.threema.apitool.results.CapabilityResult
Result of a capability lookup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAudio()Check whether the Threema ID can receive audiobooleancanFile()Check whether the Threema ID can receive filesbooleancanImage()Check whether the Threema ID can receive imagesbooleancanText()Check whether the Threema ID can receive textbooleancanVideo()Check whether the Threema ID can receive videosString[]Get all capabilities as a string array.getKey()toString()
-
Constructor Details
-
CapabilityResult
-
-
Method Details
-
getCapabilities
Get all capabilities as a string array. -
canText
public boolean canText()Check whether the Threema ID can receive text -
canImage
public boolean canImage()Check whether the Threema ID can receive images -
canVideo
public boolean canVideo()Check whether the Threema ID can receive videos -
canAudio
public boolean canAudio()Check whether the Threema ID can receive audio -
canFile
public boolean canFile()Check whether the Threema ID can receive files -
toString
-
getKey
-