Język

ControlsSurface Enum

Definition

Specifies where Android displays device controls.

public enum ControlsSurface
type ControlsSurface = 
Inheritance
ControlsSurface

Fields

Name Value Description
ActivityPanel 0

Controls are being shown on the device controls activity panel.

Android reference for android.service.controls.ControlsProviderService.CONTROLS_SURFACE_ACTIVITY_PANEL.

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.

Dream 1

Controls are being shown as a dream, while the device is idle.

Android reference for android.service.controls.ControlsProviderService.CONTROLS_SURFACE_DREAM.

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 identify the activity panel or the idle-device dream surface in the controls-surface intent extra.

See the Android implementation.

Applies to