CGDisplayIsBuiltin(_:)
Returns a Boolean value indicating whether a display is built-in, such as the internal display in portable systems.
Declaration
func CGDisplayIsBuiltin(_ display: CGDirectDisplayID) -> boolean_tParameters
- display:
The identifier of the display to be accessed.
Return Value
If true, the specified display is considered to be a built-in display; otherwise, false.
Discussion
Portable systems typically identify the internal LCD panel as a built-in display.
Note that it is possible and reasonable for a system to have no displays marked as built-in. For example, a portable system running with the lid closed may report no built-in displays.
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()