accessibilityApplicationFocusedUIElement property
ObjCObjectBase?
get
accessibilityApplicationFocusedUIElement
accessibilityApplicationFocusedUIElement
Implementation
objc.ObjCObjectBase? get accessibilityApplicationFocusedUIElement {
objc.checkOsVersionInternal(
'NSApplication.accessibilityApplicationFocusedUIElement',
iOS: (true, null),
macOS: (false, (10, 10, 0)),
);
final _ret = _objc_msgSend_151sglz(
this.ref.pointer,
_sel_accessibilityApplicationFocusedUIElement,
);
return _ret.address == 0
? null
: objc.ObjCObjectBase(_ret, retain: true, release: true);
}
set
accessibilityApplicationFocusedUIElement
(ObjCObjectBase? value)
setAccessibilityApplicationFocusedUIElement:
Implementation
set accessibilityApplicationFocusedUIElement(objc.ObjCObjectBase? value) {
objc.checkOsVersionInternal(
'NSApplication.setAccessibilityApplicationFocusedUIElement:',
iOS: (true, null),
macOS: (false, (10, 10, 0)),
);
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_setAccessibilityApplicationFocusedUIElement_,
value?.ref.pointer ?? ffi.nullptr,
);
}