ActivityPersistableMode Enum

Definition

Enumerates values returned by several types.

public enum ActivityPersistableMode
type ActivityPersistableMode = 
Inheritance
ActivityPersistableMode

Fields

Name Value Description
RootOnly 0

Constant corresponding to persistRootOnly in the R.attr.persistableMode attribute.

Android reference for android.content.pm.ActivityInfo.PERSIST_ROOT_ONLY.

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.

Never 1

Constant corresponding to doNotPersist in the R.attr.persistableMode attribute.

Android reference for android.content.pm.ActivityInfo.PERSIST_NEVER.

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.

AcrossReboots 2

Constant corresponding to persistAcrossReboots in the R.attr.persistableMode attribute.

Android reference for android.content.pm.ActivityInfo.PERSIST_ACROSS_REBOOTS.

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.

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