Share via


RemoteCallbackList.Kill Method

Definition

Disable this interface list.

[Android.Runtime.Register("kill", "()V", "GetKillHandler")]
public virtual void Kill();
[<Android.Runtime.Register("kill", "()V", "GetKillHandler")>]
abstract member Kill : unit -> unit
override this.Kill : unit -> unit
Attributes

Remarks

Disable this interface list. All registered interfaces are unregistered, and the list is disabled so that future calls to #register will fail. This should be used when a Service is stopping, to prevent clients from registering interfaces after it is stopped.

Java documentation for android.os.RemoteCallbackList.kill().

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.

Applies to