Package apple.uikit
Class UIScreen
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIScreen
-
- All Implemented Interfaces:
NSObject,UITraitEnvironment
public class UIScreen extends NSObject implements UITraitEnvironment
API-Since: 2.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIScreen(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static UIScreenalloc()static UIScreenallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)CGRectapplicationFrame()Deprecated.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@NotNull NSArray<? extends UIScreenMode>availableModes()The list of modes that this screen supports API-Since: 3.2CGRectbounds()Bounds of entire screen in pointsdoublebrightness()0 ..doublecalibratedLatency()The latency of the display hardware associated with this screen.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@NotNull UICoordinateSpacecoordinateSpace()API-Since: 8.0doublecurrentEDRHeadroom()Headroom is the ratio of the luminance of the brightest white the display can currently produce to the luminance of SDR white, in the display's native color space.@Nullable UIScreenModecurrentMode()Current mode of this screen API-Since: 3.2static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable CADisplayLinkdisplayLinkWithTargetSelector(@NotNull java.lang.Object target, @NotNull org.moe.natj.objc.SEL sel)API-Since: 4.0@NotNull UICoordinateSpacefixedCoordinateSpace()API-Since: 8.0@Nullable UIFocusItemfocusedItem()Deprecated.@Nullable UIViewfocusedView()Deprecated.static longhash_static()UIScreeninit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisCaptured()Deprecated.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull UIScreenmainScreen()Deprecated.longmaximumFramesPerSecond()The maximumFramesPerSecond this screen is capable of API-Since: 10.3@Nullable UIScreenmirroredScreen()The screen being mirrored by the receiver.CGRectnativeBounds()Native bounds of the physical screen in pixels API-Since: 8.0doublenativeScale()Native scale factor of the physical screen API-Since: 8.0static UIScreennew_objc()longoverscanCompensation()Default is UIScreenOverscanCompensationScale.UIEdgeInsetsoverscanCompensationInsets()The amount that should be inset to avoid clipping API-Since: 9.0doublepotentialEDRHeadroom()Returns the maximum potential EDR headroom the screen is capable of displaying when EDR is enabled, regardless of whether EDR is currently enabled.@Nullable UIScreenModepreferredMode()Preferred mode of this screen.longreferenceDisplayModeStatus()API-Since: 16.0static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)doublescale()API-Since: 4.0static @NotNull NSArray<? extends UIScreen>screens()Deprecated.voidsetBrightness(double value)0 ..voidsetCurrentMode(@Nullable UIScreenMode value)Current mode of this screen API-Since: 3.2voidsetOverscanCompensation(long value)Default is UIScreenOverscanCompensationScale.static voidsetVersion_static(long aVersion)voidsetWantsSoftwareDimming(boolean value)Default is NO.@NotNull UIViewsnapshotViewAfterScreenUpdates(boolean afterUpdates)Please see snapshotViewAfterScreenUpdates: in UIView.h for some important details on the behavior of this method when called from layoutSubviews.static org.moe.natj.objc.Classsuperclass_static()booleansupportsFocus()Deprecated.@NotNull UITraitCollectiontraitCollection()API-Since: 8.0voidtraitCollectionDidChange(@Nullable UITraitCollection previousTraitCollection)Deprecated.static booleanuseStoredAccessor()Deprecated.static longversion_static()booleanwantsSoftwareDimming()Default is NO.-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static UIScreen alloc()
-
allocWithZone
public static UIScreen allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
mainScreen
@NotNull @Deprecated public static @NotNull UIScreen mainScreen()
Deprecated.the device's internal screen API-Since: 2.0 Deprecated-Since: 100000.0 Deprecated-Message: Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen
-
new_objc
public static UIScreen new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
screens
@NotNull @Deprecated public static @NotNull NSArray<? extends UIScreen> screens()
Deprecated.all screens currently attached to the device API-Since: 3.2 Deprecated-Since: 16.0 Deprecated-Message: Use UIApplication.shared.openSessions to find open sessions with scenes from other screens
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
applicationFrame
@Deprecated public CGRect applicationFrame()
Deprecated.API-Since: 2.0 Deprecated-Since: 9.0
-
availableModes
@NotNull public @NotNull NSArray<? extends UIScreenMode> availableModes()
The list of modes that this screen supports API-Since: 3.2
-
bounds
public CGRect bounds()
Bounds of entire screen in points
-
brightness
public double brightness()
0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen. API-Since: 5.0
-
coordinateSpace
@NotNull public @NotNull UICoordinateSpace coordinateSpace()
API-Since: 8.0
-
currentMode
@Nullable public @Nullable UIScreenMode currentMode()
Current mode of this screen API-Since: 3.2
-
displayLinkWithTargetSelector
@Nullable public @Nullable CADisplayLink displayLinkWithTargetSelector(@NotNull @NotNull java.lang.Object target, @NotNull @NotNull org.moe.natj.objc.SEL sel)
API-Since: 4.0
-
fixedCoordinateSpace
@NotNull public @NotNull UICoordinateSpace fixedCoordinateSpace()
API-Since: 8.0
-
focusedItem
@Nullable @Deprecated public @Nullable UIFocusItem focusedItem()
Deprecated.API-Since: 10.0 Deprecated-Since: 15.0 Deprecated-Message: Use -[UIWindowScene focusSystem].focusedItem instead
-
focusedView
@Nullable @Deprecated public @Nullable UIView focusedView()
Deprecated.API-Since: 9.0 Deprecated-Since: 15.0 Deprecated-Message: Use -[UIWindowScene focusSystem].focusedItem instead
-
mirroredScreen
@Nullable public @Nullable UIScreen mirroredScreen()
The screen being mirrored by the receiver. nil if mirroring is disabled or unsupported. Moving a UIWindow to this screen will disable mirroring API-Since: 4.3
-
nativeBounds
public CGRect nativeBounds()
Native bounds of the physical screen in pixels API-Since: 8.0
-
nativeScale
public double nativeScale()
Native scale factor of the physical screen API-Since: 8.0
-
overscanCompensation
public long overscanCompensation()
Default is UIScreenOverscanCompensationScale. Determines how the screen behaves if the connected display is overscanning API-Since: 5.0
-
overscanCompensationInsets
public UIEdgeInsets overscanCompensationInsets()
The amount that should be inset to avoid clipping API-Since: 9.0
-
preferredMode
@Nullable public @Nullable UIScreenMode preferredMode()
Preferred mode of this screen. Choosing this mode will likely produce the best results API-Since: 4.3
-
scale
public double scale()
API-Since: 4.0
-
setBrightness
public void setBrightness(double value)
0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen. API-Since: 5.0
-
setCurrentMode
public void setCurrentMode(@Nullable @Nullable UIScreenMode value)Current mode of this screen API-Since: 3.2
-
setOverscanCompensation
public void setOverscanCompensation(long value)
Default is UIScreenOverscanCompensationScale. Determines how the screen behaves if the connected display is overscanning API-Since: 5.0
-
setWantsSoftwareDimming
public void setWantsSoftwareDimming(boolean value)
Default is NO. If YES, brightness levels lower than that of which the hardware is capable are emulated in software, if necessary. Having enabled may entail performance cost. API-Since: 5.0
-
snapshotViewAfterScreenUpdates
@NotNull public @NotNull UIView snapshotViewAfterScreenUpdates(boolean afterUpdates)
Please see snapshotViewAfterScreenUpdates: in UIView.h for some important details on the behavior of this method when called from layoutSubviews. API-Since: 7.0
-
supportsFocus
@Deprecated public boolean supportsFocus()
Deprecated.API-Since: 9.0 Deprecated-Since: 15.0 Deprecated-Message: Use -[UIWindowScene focusSystem] != nil instead
-
traitCollection
@NotNull public @NotNull UITraitCollection traitCollection()
Description copied from interface:UITraitEnvironmentAPI-Since: 8.0- Specified by:
traitCollectionin interfaceUITraitEnvironment
-
traitCollectionDidChange
@Deprecated public void traitCollectionDidChange(@Nullable @Nullable UITraitCollection previousTraitCollection)Deprecated.Description copied from interface:UITraitEnvironmentTo be overridden as needed to provide custom behavior when the environment's traits change. API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Use the trait change registration APIs declared in the UITraitChangeObservable protocol- Specified by:
traitCollectionDidChangein interfaceUITraitEnvironment
-
wantsSoftwareDimming
public boolean wantsSoftwareDimming()
Default is NO. If YES, brightness levels lower than that of which the hardware is capable are emulated in software, if necessary. Having enabled may entail performance cost. API-Since: 5.0
-
isCaptured
@Deprecated public boolean isCaptured()
Deprecated.True if this screen is being captured (e.g. recorded, AirPlayed, mirrored, etc.) API-Since: 11.0 Deprecated-Since: 100000.0 Deprecated-Message: Use the sceneCaptureState in UITraitCollection instead.
-
maximumFramesPerSecond
public long maximumFramesPerSecond()
The maximumFramesPerSecond this screen is capable of API-Since: 10.3
-
calibratedLatency
public double calibratedLatency()
The latency of the display hardware associated with this screen. Can be used along with CoreAudio devices' kAudioDeviceLatencyProperty to achieve A/V sync when writing custom video playback software. Will be `0` if display latency has not been calibrated by the user. API-Since: 13.0
-
currentEDRHeadroom
public double currentEDRHeadroom()
Headroom is the ratio of the luminance of the brightest white the display can currently produce to the luminance of SDR white, in the display's native color space. The screen’s current headroom can change depending on the display configuration and whether it is currently displaying any EDR content. If any onscreen layer has `wantsExtendedDynamicRangeContent == YES` set, all rendered content is limited to the screen's currentEDRHeadroom value. API-Since: 16.0
-
potentialEDRHeadroom
public double potentialEDRHeadroom()
Returns the maximum potential EDR headroom the screen is capable of displaying when EDR is enabled, regardless of whether EDR is currently enabled. The potential EDR headroom may change depending on the display configuration. For example, this may change when referenceDisplayModeStatus changes. API-Since: 16.0
-
referenceDisplayModeStatus
public long referenceDisplayModeStatus()
API-Since: 16.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-