MediaRoute2ProviderService.NotifySessionCreated Method
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.
Notifies clients of that the session is created and ready for use.
[Android.Runtime.Register("notifySessionCreated", "(JLandroid/media/RoutingSessionInfo;)V", "", ApiSince=30)]
public void NotifySessionCreated (long requestId, Android.Media.RoutingSessionInfo sessionInfo);
[<Android.Runtime.Register("notifySessionCreated", "(JLandroid/media/RoutingSessionInfo;)V", "", ApiSince=30)>]
member this.NotifySessionCreated : int64 * Android.Media.RoutingSessionInfo -> unit
Parameters
- requestId
- Int64
the ID of the previous request to create this session provided in
#onCreateSession(long, String, String, Bundle)
. Can be
#REQUEST_ID_NONE
if this session is created without any request.
- sessionInfo
- RoutingSessionInfo
information of the new session.
The RoutingSessionInfo#getId() id
of the session must be unique.
- Attributes
Remarks
Notifies clients of that the session is created and ready for use.
If this session is created without any creation request, use #REQUEST_ID_NONE
as the request ID.
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.