다음을 통해 공유


DreamService.ScreenBright Property

Definition

Returns whether this dream keeps the screen bright while dreaming. -or- Marks this dream as keeping the screen bright while dreaming.

public virtual bool ScreenBright { [Android.Runtime.Register("isScreenBright", "()Z", "GetIsScreenBrightHandler")] get; [Android.Runtime.Register("setScreenBright", "(Z)V", "GetSetScreenBright_ZHandler")] set; }
[<get: Android.Runtime.Register("isScreenBright", "()Z", "GetIsScreenBrightHandler")>]
[<set: Android.Runtime.Register("setScreenBright", "(Z)V", "GetSetScreenBright_ZHandler")>]
member this.ScreenBright : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether this dream keeps the screen bright while dreaming. Defaults to false, allowing the screen to dim if necessary.

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

Property setter documentation:

Marks this dream as keeping the screen bright while dreaming.

Java documentation for android.service.dreams.DreamService.setScreenBright(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