Android.Media.Session.MediaSession.SetSessionActivity Method
Set an intent for launching UI for this Session.

Syntax

[Android.Runtime.Register("setSessionActivity", "(Landroid/app/PendingIntent;)V", "")]
public void SetSessionActivity (Android.App.PendingIntent pi)

Parameters

pi
The intent to launch to show UI for this Session.

Remarks

Set an intent for launching UI for this Session. This can be used as a quick link to an ongoing media screen. The intent should be for an activity that may be started using Android.App.Activity.startActivity(android.content.Intent).

[Android Documentation]

Requirements

Namespace: Android.Media.Session
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0