Language

SubscribeType Enum

Definition

public enum SubscribeType
type SubscribeType = 
Inheritance
SubscribeType

Fields

Name Value Description
Passive 0

Defines a passive subscribe session - a subscribe session where subscribe packets are not transmitted over-the-air and the device listens and matches to transmitted publish packets. Configuration is done using SubscribeConfig.Builder.setSubscribeType(int).

Android reference for android.net.wifi.aware.SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Active 1

Defines an active subscribe session - a subscribe session where subscribe packets are transmitted over-the-air. Configuration is done using SubscribeConfig.Builder.setSubscribeType(int).

Android reference for android.net.wifi.aware.SubscribeConfig.SUBSCRIBE_TYPE_ACTIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to