public static boolean isSupported(XMPPConnection xMPPConnection) {
   return AMPManager.isConditionSupported(xMPPConnection, NAME);
 }
示例#2
0
 /**
  * Check if server supports deliver condition
  *
  * @param connection Smack connection instance
  * @return true if deliver condition is supported.
  * @throws XMPPErrorException
  * @throws NoResponseException
  * @throws NotConnectedException
  */
 public static boolean isSupported(XMPPConnection connection)
     throws NoResponseException, XMPPErrorException, NotConnectedException {
   return AMPManager.isConditionSupported(connection, NAME);
 }