MediaSessionType 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.
Identifies whether a session token represents a media session or a session service.
public enum MediaSessionType
type MediaSessionType =
- Inheritance
-
MediaSessionType
Fields
| Name | Value | Description |
|---|---|---|
| Session | 0 | Type for MediaSession2. 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. |
| SessionService | 1 | Type for MediaSession2Service. 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
A service token can identify a service that is not currently running a session. The token can be used to create a controller for communication with the represented endpoint.