Android.Content.IServiceConnection.OnServiceDisconnected Method
Called when a connection to the Service has been lost.

Syntax

[Android.Runtime.Register("onServiceDisconnected", "(Landroid/content/ComponentName;)V", "GetOnServiceDisconnected_Landroid_content_ComponentName_Handler:Android.Content.IServiceConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnServiceDisconnected (ComponentName name)

Parameters

name
The concrete component name of the service whose connection has been lost.

Remarks

Called when a connection to the Service has been lost. This typically happens when the process hosting the service has crashed or been killed. This does not remove the ServiceConnection itself -- this binding to the service will remain active, and you will receive a call to IServiceConnection.OnServiceConnected(ComponentName, Android.OS.IBinder) when the Service is next running.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1