Language

AppInteractionSessionCloseReason Enum

Definition

Identifies why an app-interaction session closed.

public enum AppInteractionSessionCloseReason
type AppInteractionSessionCloseReason = 
Inheritance
AppInteractionSessionCloseReason

Fields

Name Value Description
Unknown 0

Unknown reason for the session to be closed.

Android reference for android.app.AppInteractionSession.CLOSE_REASON_UNKNOWN.

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.

Timeout 1

The session is closed due to timeout.

Android reference for android.app.AppInteractionSession.CLOSE_REASON_TIMEOUT.

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.

CallerInitiated 2

The session is closed due to the caller calling close().

Android reference for android.app.AppInteractionSession.CLOSE_REASON_CALLER_INITIATED.

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

The values distinguish timeout from caller-requested closure. An unknown value supplies no specific cause.

Applies to