public class CapabilityResult extends Object
Constructor and Description |
---|
CapabilityResult(String key,
String[] capabilities) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAudio()
Check whether the Threema ID can receive audio
|
boolean |
canFile()
Check whether the Threema ID can receive files
|
boolean |
canImage()
Check whether the Threema ID can receive images
|
boolean |
canText()
Check whether the Threema ID can receive text
|
boolean |
canVideo()
Check whether the Threema ID can receive videos
|
String[] |
getCapabilities()
Get all capabilities as a string array.
|
String |
getKey() |
String |
toString() |
public String[] getCapabilities()
public boolean canText()
public boolean canImage()
public boolean canVideo()
public boolean canAudio()
public boolean canFile()
public String getKey()
Copyright © 2015 Threema GmbH, Staldenbachstrasse 11, 8808 Pfäffikon SZ, Schweiz. All rights reserved.