共用方式為


Service.Application Property

Definition

Return the application that owns this service.

public Android.App.Application? Application { [Android.Runtime.Register("getApplication", "()Landroid/app/Application;", "")] get; }
[<get: Android.Runtime.Register("getApplication", "()Landroid/app/Application;", "")>]
member this.Application : Android.App.Application

Property Value

Attributes

Remarks

Return the application that owns this service.

Java documentation for android.app.Service.getApplication().

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