Sdílet prostřednictvím


Activity.Application Property

Definition

Return the application that owns this activity.

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 activity.

Java documentation for android.app.Activity.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