Język

MockContext.ApplicationInfo Property

Definition

Return the full application info for this context's package.

public override Android.Content.PM.ApplicationInfo? ApplicationInfo { [Android.Runtime.Register("getApplicationInfo", "()Landroid/content/pm/ApplicationInfo;", "GetGetApplicationInfoHandler")] get; }
[<get: Android.Runtime.Register("getApplicationInfo", "()Landroid/content/pm/ApplicationInfo;", "GetGetApplicationInfoHandler")>]
member this.ApplicationInfo : Android.Content.PM.ApplicationInfo

Property Value

No value is provided by the default mock. Its getter throws UnsupportedOperationException; override this property to supply application information.

Attributes

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.

Applies to