PublishType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum PublishType
type PublishType =
- Inheritance
-
PublishType
Fields
| Name | Value | Description |
|---|---|---|
| Unsolicited | 0 | Defines an unsolicited publish session - a publish session where the publisher is advertising itself by broadcasting on-the-air. An unsolicited publish session is paired with a passive subscribe session SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE. Configuration is done using PublishConfig.Builder.setPublishType(int). Android reference for 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. |
| Solicited | 1 | Defines a solicited publish session - a publish session which is silent, waiting for a matching active subscribe session - and responding to it in unicast. A solicited publish session is paired with an active subscribe session SubscribeConfig.SUBSCRIBE_TYPE_ACTIVE. Configuration is done using PublishConfig.Builder.setPublishType(int). Android reference for 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.