次の方法で共有


RemoteCallbackList.Kill Method

Definition

Disable this callback 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 callback list. All registered callbacks 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 callbacks 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