fun fullyConnectSync(srcContext: Context?, srcHandler: Handler?, dstHandler: Handler?): Int { var status: Int = connectSync(srcContext, srcHandler, dstHandler) if (status == STATUS_SUCCESSFUL) { val response: Message = sendMessageSynchronously(CMD_CHANNEL_FULL_CONNECTION) status = response.arg1 } return status }
Fully connect two local Handlers synchronously .