From b6cf3f1eecbad229861be60026d24df32fcdfa01 Mon Sep 17 00:00:00 2001 From: pedroGitt Date: Mon, 17 Oct 2016 16:55:14 +0200 Subject: Update Javadoc method headers with direct link to PRE_KEY definition --- .../olm-sdk/src/main/java/org/matrix/olm/OlmSession.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'java/android/OlmLibSdk/olm-sdk/src') diff --git a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java index 2df5ea7..b356cbb 100644 --- a/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java +++ b/java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java @@ -124,7 +124,7 @@ public class OlmSession implements Serializable { /** * Create a new in-bound session for sending/receiving messages from an - * incoming PRE_KEY message.
+ * incoming PRE_KEY ({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message.
* Public API for {@link #initInboundSessionJni(long, String)}. * This API may be used to process a "m.room.encrypted" event when type = 1 (PRE_KEY). * @param aAccount the account to associate with this session @@ -153,7 +153,7 @@ public class OlmSession implements Serializable { /** * Create a new in-bound session for sending/receiving messages from an - * incoming PRE_KEY message based on the sender identity key.
+ * incoming PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message based on the sender identity key.
* Public API for {@link #initInboundSessionFromIdKeyJni(long, String, String)}. * This API may be used to process a "m.room.encrypted" event when type = 1 (PRE_KEY). * @param aAccount the account to associate with this session @@ -195,7 +195,7 @@ public class OlmSession implements Serializable { private native String getSessionIdentifierJni(); /** - * Checks if the PRE_KEY message is for this in-bound session.
+ * Checks if the PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message is for this in-bound session.
* This API may be used to process a "m.room.encrypted" event when type = 1 (PRE_KEY). * Public API for {@link #matchesInboundSessionJni(String)}. * @param aOneTimeKeyMsg PRE KEY message @@ -215,7 +215,7 @@ public class OlmSession implements Serializable { /** - * Checks if the PRE_KEY message is for this in-bound session based on the sender identity key.
+ * Checks if the PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message is for this in-bound session based on the sender identity key.
* This API may be used to process a "m.room.encrypted" event when type = 1 (PRE_KEY). * Public API for {@link #matchesInboundSessionJni(String)}. * @param aTheirIdentityKey the sender identity key -- cgit v1.2.3