Merge "[AWARE] Fix javadocs for match filter update" am: 7241d28826 am: 65617f21bf
am: 4c43aba36e
Change-Id: I0a094416e0eaa1b09ec964cba3ec889ccca35eb6
This commit is contained in:
@@ -405,7 +405,7 @@ public final class SubscribeConfig implements Parcelable {
|
|||||||
* single match session (corresponding to the same publish action on the
|
* single match session (corresponding to the same publish action on the
|
||||||
* peer) reported to the host (using the
|
* peer) reported to the host (using the
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], byte[])}). The options are: only report the first match and ignore the rest
|
* byte[], List)}). The options are: only report the first match and ignore the rest
|
||||||
* {@link SubscribeConfig#MATCH_STYLE_FIRST_ONLY} or report every single
|
* {@link SubscribeConfig#MATCH_STYLE_FIRST_ONLY} or report every single
|
||||||
* match {@link SubscribeConfig#MATCH_STYLE_ALL} (the default).
|
* match {@link SubscribeConfig#MATCH_STYLE_ALL} (the default).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ public class WifiAwareCharacteristics implements Parcelable {
|
|||||||
/**
|
/**
|
||||||
* Returns the maximum length of byte array that can be used to specify a Aware match filter.
|
* Returns the maximum length of byte array that can be used to specify a Aware match filter.
|
||||||
* Restricts the parameters of the
|
* Restricts the parameters of the
|
||||||
* {@link PublishConfig.Builder#setMatchFilter(java.util.List<byte[]>)} and
|
* {@link PublishConfig.Builder#setMatchFilter(java.util.List)} and
|
||||||
* {@link SubscribeConfig.Builder#setMatchFilter(java.util.List<byte[]>)}.
|
* {@link SubscribeConfig.Builder#setMatchFilter(java.util.List)}.
|
||||||
*
|
*
|
||||||
* @return A positive integer, maximum legngth of byte array for Aware discovery match filter.
|
* @return A positive integer, maximum legngth of byte array for Aware discovery match filter.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
* Sends a message to the specified destination. Aware messages are transmitted in the context
|
* Sends a message to the specified destination. Aware messages are transmitted in the context
|
||||||
* of a discovery session - executed subsequent to a publish/subscribe
|
* of a discovery session - executed subsequent to a publish/subscribe
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} event.
|
* byte[], java.util.List)} event.
|
||||||
* <p>
|
* <p>
|
||||||
* Aware messages are not guaranteed delivery. Callbacks on
|
* Aware messages are not guaranteed delivery. Callbacks on
|
||||||
* {@link WifiAwareDiscoverySessionCallback} indicate message was transmitted successfully,
|
* {@link WifiAwareDiscoverySessionCallback} indicate message was transmitted successfully,
|
||||||
@@ -154,7 +154,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
*
|
*
|
||||||
* @param peerHandle The peer's handle for the message. Must be a result of an
|
* @param peerHandle The peer's handle for the message. Must be a result of an
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} or
|
* byte[], java.util.List)} or
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
||||||
* byte[])} events.
|
* byte[])} events.
|
||||||
* @param messageId An arbitrary integer used by the caller to identify the message. The same
|
* @param messageId An arbitrary integer used by the caller to identify the message. The same
|
||||||
@@ -187,7 +187,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
* Sends a message to the specified destination. Aware messages are transmitted in the context
|
* Sends a message to the specified destination. Aware messages are transmitted in the context
|
||||||
* of a discovery session - executed subsequent to a publish/subscribe
|
* of a discovery session - executed subsequent to a publish/subscribe
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} event.
|
* byte[], java.util.List)} event.
|
||||||
* <p>
|
* <p>
|
||||||
* Aware messages are not guaranteed delivery. Callbacks on
|
* Aware messages are not guaranteed delivery. Callbacks on
|
||||||
* {@link WifiAwareDiscoverySessionCallback} indicate message was transmitted successfully,
|
* {@link WifiAwareDiscoverySessionCallback} indicate message was transmitted successfully,
|
||||||
@@ -203,7 +203,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
*
|
*
|
||||||
* @param peerHandle The peer's handle for the message. Must be a result of an
|
* @param peerHandle The peer's handle for the message. Must be a result of an
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} or
|
* byte[], java.util.List)} or
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
||||||
* byte[])} events.
|
* byte[])} events.
|
||||||
* @param messageId An arbitrary integer used by the caller to identify the message. The same
|
* @param messageId An arbitrary integer used by the caller to identify the message. The same
|
||||||
@@ -220,7 +220,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
/**
|
/**
|
||||||
* Start a ranging operation with the specified peers. The peer IDs are obtained from an
|
* Start a ranging operation with the specified peers. The peer IDs are obtained from an
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} or
|
* byte[], java.util.List)} or
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
||||||
* byte[])} operation - can
|
* byte[])} operation - can
|
||||||
* only range devices which are part of an ongoing discovery session.
|
* only range devices which are part of an ongoing discovery session.
|
||||||
@@ -266,7 +266,7 @@ public class WifiAwareDiscoveryBaseSession {
|
|||||||
*
|
*
|
||||||
* @param peerHandle The peer's handle obtained through
|
* @param peerHandle The peer's handle obtained through
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onServiceDiscovered(WifiAwareManager.PeerHandle,
|
||||||
* byte[], java.util.List<byte[]>)} or
|
* byte[], java.util.List)} or
|
||||||
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
* {@link WifiAwareDiscoverySessionCallback#onMessageReceived(WifiAwareManager.PeerHandle,
|
||||||
* byte[])}. On a RESPONDER this value is used to gate the acceptance of a connection request
|
* byte[])}. On a RESPONDER this value is used to gate the acceptance of a connection request
|
||||||
* from only that peer. A RESPONDER may specified a null - indicating that
|
* from only that peer. A RESPONDER may specified a null - indicating that
|
||||||
|
|||||||
Reference in New Issue
Block a user