Service.StopSelf Service.StopSelf Method

Definition

Overloads

StopSelf() StopSelf()

Stop the service, if it was previously started.

StopSelf(Int32) StopSelf(Int32)

Old version of StopSelfResult(Int32) that doesn't return a result.

StopSelf() StopSelf()

Stop the service, if it was previously started.

[Android.Runtime.Register("stopSelf", "()V", "")]
public void StopSelf ();
member this.StopSelf : unit -> unit

Remarks

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.

See also

StopSelf(Int32) StopSelf(Int32)

Old version of StopSelfResult(Int32) that doesn't return a result.

[Android.Runtime.Register("stopSelf", "(I)V", "")]
public void StopSelf (int startId);
member this.StopSelf : int -> unit

Parameters

startId
Int32 Int32

Remarks

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.

See also

Applies to