Share via


DreamService.Interactive Property

Definition

Returns whether this dream is interactive. -or- Marks this dream as interactive to receive input events.

public virtual bool Interactive { [Android.Runtime.Register("isInteractive", "()Z", "GetIsInteractiveHandler")] get; [Android.Runtime.Register("setInteractive", "(Z)V", "GetSetInteractive_ZHandler")] set; }
[<get: Android.Runtime.Register("isInteractive", "()Z", "GetIsInteractiveHandler")>]
[<set: Android.Runtime.Register("setInteractive", "(Z)V", "GetSetInteractive_ZHandler")>]
member this.Interactive : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether this dream is interactive. Defaults to false.

Java documentation for android.service.dreams.DreamService.isInteractive().

Property setter documentation:

Marks this dream as interactive to receive input events.

Non-interactive dreams (default) will dismiss on the first input event.

Interactive dreams should call #finish() to dismiss themselves.

Java documentation for android.service.dreams.DreamService.setInteractive(boolean).

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

See also