public interface

SessionToken.OnSessionTokenCreatedListener

 androidx.media2.SessionToken.OnSessionTokenCreatedListener

Summary

Methods
public voidonSessionTokenCreated(android.support.v4.media.session.MediaSessionCompat.Token token, SessionToken token2)

Called when SessionToken object is created.

Methods

public void onSessionTokenCreated(android.support.v4.media.session.MediaSessionCompat.Token token, SessionToken token2)

Called when SessionToken object is created.

Parameters:

token: the compat token used for creating token2
token2: the created SessionToken object