Megosztás a következőn keresztül:


Intent.ExtraNotUnknownSource Field

Definition

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE to install a package.

[Android.Runtime.Register("EXTRA_NOT_UNKNOWN_SOURCE")]
public const string ExtraNotUnknownSource;
[<Android.Runtime.Register("EXTRA_NOT_UNKNOWN_SOURCE")>]
val mutable ExtraNotUnknownSource : string

Field Value

Implements

Attributes

Remarks

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE to install a package. Specifies that the application being installed should not be treated as coming from an unknown source, but as coming from the app invoking the Intent. For this to work you must start the installer with startActivityForResult().

Java documentation for android.content.Intent.EXTRA_NOT_UNKNOWN_SOURCE.

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