Service.StopSelf Método

Definición

Sobrecargas

Nombre Description
StopSelf()

Detenga el servicio, si se inició anteriormente.

StopSelf(Int32)

Versión anterior de stopSelfResult(int) que no devuelve un resultado.

StopSelf()

Detenga el servicio, si se inició anteriormente.

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

Comentarios

Detenga el servicio, si se inició anteriormente. Esto es lo mismo que llamar a Context.stopService(Intent) para este servicio en particular.

Consulte también:

Referencia de Android para android.app.Service.stopSelf.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

StopSelf(Int32)

Versión anterior de stopSelfResult(int) que no devuelve un resultado.

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

Parámetros

startId
Int32

int

Atributos

Comentarios

Versión anterior de stopSelfResult(int) que no devuelve un resultado.

Consulte también:

Referencia de Android para android.app.Service.stopSelf.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a