Lingua

Intent.ActionOpenEyeDropper Field

Definition

Activity Action: Launch an eye dropper.

[Android.Runtime.Register("ACTION_OPEN_EYE_DROPPER", ApiSince=37)]
public const string ActionOpenEyeDropper;
[<Android.Runtime.Register("ACTION_OPEN_EYE_DROPPER", ApiSince=37)>]
val mutable ActionOpenEyeDropper : string

Field Value

Implements

Attributes

Remarks

Activity Action: Launch an eye dropper. It allows the user to pick a pixel on the display. The color of the selected pixel is returned to the requesting activity as an activity result. Pixels from secure windows and protected buffers are blacked out.

Output: getIntExtra(EXTRA_COLOR) is the color of the selected pixel in ARGB format (0xFFRRGGBB).

Android reference for android.content.Intent.ACTION_OPEN_EYE_DROPPER.

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