RemoteCallbackList.Kill Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.