desktopImageURLForScreen method
desktopImageURLForScreen:
Implementation
objc.NSURL? desktopImageURLForScreen(NSScreen screen) {
objc.checkOsVersionInternal(
'NSWorkspace.desktopImageURLForScreen:',
iOS: (true, null),
macOS: (false, (10, 6, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_desktopImageURLForScreen_,
screen.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSURL.castFromPointer(_ret, retain: true, release: true);
}