Język

MockContext.PackageCodePath Property

Definition

Return the full path to this context's primary Android package.

public override string? PackageCodePath { [Android.Runtime.Register("getPackageCodePath", "()Ljava/lang/String;", "GetGetPackageCodePathHandler")] get; }
[<get: Android.Runtime.Register("getPackageCodePath", "()Ljava/lang/String;", "GetGetPackageCodePathHandler")>]
member this.PackageCodePath : string

Property Value

No value is provided by the default mock. Its getter throws UnsupportedOperationException; override this property to supply a package code path.

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