CFUserNotificationCheckBoxChecked(_:)
Returns a flag used to set or test a checkbox’s state.
Declaration
func CFUserNotificationCheckBoxChecked(_ i: CFIndex) -> CFOptionFlagsParameters
- i:
The index of the checkbox to set or test. The index corresponds to the order in which the checkbox titles are listed in the Kcfusernotificationcheckboxtitleskey array of the user notification’s description dictionary.
idxmust be in the range0to7.
Return Value
A flag that can be used either to set the state of a checkbox when creating a user notification with CFUserNotificationCreate(_:_:_:_:_:) or to test a checkbox’s state returned in a user notification’s response flags, such as from CFUserNotificationReceiveResponse(_:_:_:), when the notification dialog is dismissed.
See Also
CFUserNotification Miscellaneous Functions
CFUserNotificationCancel(_:)CFUserNotificationCreate(_:_:_:_:_:)CFUserNotificationCreateRunLoopSource(_:_:_:_:)CFUserNotificationDisplayAlert(_:_:_:_:_:_:_:_:_:_:_:)CFUserNotificationDisplayNotice(_:_:_:_:_:_:_:_:)CFUserNotificationGetResponseDictionary(_:)CFUserNotificationGetResponseValue(_:_:_:)CFUserNotificationGetTypeID()CFUserNotificationPopUpSelection(_:)CFUserNotificationReceiveResponse(_:_:_:)CFUserNotificationSecureTextField(_:)CFUserNotificationUpdate(_:_:_:_:)