Language

ChooserResultValue Enum

Definition

Identifies the action that completed a chooser session.

public enum ChooserResultValue
type ChooserResultValue = 
Inheritance
ChooserResultValue

Fields

Name Value Description
Unknown -1

An unknown action was taken to complete the session.

Android reference for android.service.chooser.ChooserResult.CHOOSER_RESULT_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.

SelectedComponent 0

The session was completed by selecting an activity to launch.

Android reference for android.service.chooser.ChooserResult.CHOOSER_RESULT_SELECTED_COMPONENT.

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.

Copy 1

The session was completed by invoking the copy action.

Android reference for android.service.chooser.ChooserResult.CHOOSER_RESULT_COPY.

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.

Edit 2

The session was completed by invoking the edit action.

Android reference for android.service.chooser.ChooserResult.CHOOSER_RESULT_EDIT.

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

These values represent the Java ChooserResult.CHOOSER_RESULT_* constants: an unknown action, activity selection, copying, or editing. They are distinct result codes, not flags to combine. See the Android result declarations.

Applies to