Język

MockPackageManager.IsInstantApp Property

Definition

Throws UnsupportedOperationException instead of providing the instant application state. Override this property for tests.

public override bool IsInstantApp { [Android.Runtime.Register("isInstantApp", "()Z", "GetIsInstantAppHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isInstantApp", "()Z", "GetIsInstantAppHandler", ApiSince=26)>]
member this.IsInstantApp : bool

Property Value

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

Attributes

Remarks

Java documentation for android.test.mock.MockPackageManager.isInstantApp().

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