aboutsummaryrefslogtreecommitdiff
path: root/java/android
diff options
context:
space:
mode:
authorpedroGitt <pedro.contreiras@amdocs.com>2016-10-17 16:55:14 +0200
committerpedroGitt <pedro.contreiras@amdocs.com>2016-10-17 16:55:14 +0200
commitb6cf3f1eecbad229861be60026d24df32fcdfa01 (patch)
tree9a22a0dc9e3840feecdf646a85675824521c61cd /java/android
parent4545b7bc190afb20eadb4cd7ed92494015247d51 (diff)
Update Javadoc method headers with direct link to PRE_KEY definition
Diffstat (limited to 'java/android')
-rw-r--r--java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmSession.java8
1 files changed, 4 insertions, 4 deletions
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.<br>
+ * incoming PRE_KEY ({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message.<br>
* 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.<br>
+ * incoming PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message based on the sender identity key.<br>
* 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.<br>
+ * Checks if the PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message is for this in-bound session.<br>
* 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.<br>
+ * Checks if the PRE_KEY({@link OlmMessage#MESSAGE_TYPE_PRE_KEY}) message is for this in-bound session based on the sender identity key.<br>
* 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