void onConversationCreated(int requestId, Messages.ConvCommand convCommand) { String createdAt = convCommand.getCdate(); String cid = convCommand.getCid(); int tempTTL = convCommand.hasTempConvTTL()? convCommand.getTempConvTTL(): 0; // they are not necessary for create-callback(isTemp, isTransient), except for tempTTL. Bundle bundle = new Bundle(); bundle.putString(Conversation.callbackCreatedAt, createdAt); bundle.putString(Conversation.callbackConversationKey, cid); bundle.putInt(Conversation.callbackTemporaryTTL, tempTTL); BroadcastUtil.sendIMLocalBroadcast(session.getSelfPeerId(), conversationId, requestId, bundle, AVIMOperation.CONVERSATION_CREATION); }
hash = (53 * hash) + getCdate().hashCode();
/** * <code>optional string cdate = 5;</code> */ public Builder clearCdate() { bitField0_ = (bitField0_ & ~0x00000010); cdate_ = getDefaultInstance().getCdate(); onChanged(); return this; } /**