Package org.robovm.apple.uikit
Class UIScreen
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIScreen
- All Implemented Interfaces:
NSObjectProtocol,UITraitEnvironment,ObjCProtocol
public class UIScreen extends NSObject implements UITraitEnvironment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIScreen.Notificationsstatic classUIScreen.UIScreenPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UIScreen()protectedUIScreen(NSObject.Handle h, long handle)protectedUIScreen(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UIScreen
public UIScreen() -
UIScreen
-
UIScreen
-
-
Method Details
-
getScreens
-
getMainScreen
-
getBounds
-
getScale
public double getScale() -
getAvailableModes
-
getPreferredMode
-
getCurrentMode
-
setCurrentMode
-
getOverscanCompensation
-
setOverscanCompensation
-
getOverscanCompensationInsets
- Since:
- Available in iOS 9.0 and later.
-
getMirroredScreen
-
isCaptured
public boolean isCaptured()- Since:
- Available in iOS 11.0 and later.
-
getBrightness
public double getBrightness() -
setBrightness
public void setBrightness(double v) -
wantsSoftwareDimming
public boolean wantsSoftwareDimming() -
setWantsSoftwareDimming
public void setWantsSoftwareDimming(boolean v) -
getCoordinateSpace
-
getFixedCoordinateSpace
-
getNativeBounds
-
getNativeScale
public double getNativeScale() -
getMaximumFramesPerSecond
public long getMaximumFramesPerSecond()- Since:
- Available in iOS 10.3 and later.
-
getCalibratedLatency
public double getCalibratedLatency()- Since:
- Available in iOS 13.0 and later.
-
getFocusedItem
Deprecated.Deprecated in iOS 15.0. Use -[UIWindowScene focusSystem].focusedItem instead- Since:
- Available in iOS 10.0 and later.
-
getFocusedView
Deprecated.Deprecated in iOS 15.0. Use -[UIWindowScene focusSystem].focusedItem instead- Since:
- Available in iOS 9.0 and later.
-
supportsFocus
Deprecated.Deprecated in iOS 15.0. Use -[UIWindowScene focusSystem] != nil instead- Since:
- Available in iOS 9.0 and later.
-
getApplicationFrame
Deprecated.Deprecated in iOS 9.0. Use bounds -
getTraitCollection
- Specified by:
getTraitCollectionin interfaceUITraitEnvironment
-
DidConnectNotification
-
DidDisconnectNotification
-
ModeDidChangeNotification
-
BrightnessDidChangeNotification
-
CapturedDidChangeNotification
- Since:
- Available in iOS 11.0 and later.
-
getDisplayLink
-
snapshotView
-
traitCollectionDidChange
- Specified by:
traitCollectionDidChangein interfaceUITraitEnvironment
-