コード例 #1
0
  public void updateUserPresenceAsync(Presence newPresence) throws ImException {
    if (mState != LOGGED_IN) {
      throw new ImException(ImErrorInfo.NOT_LOGGED_IN, "NOT logged in");
    }

    doUpdateUserPresenceAsync(newPresence);
  }