pub trait IUNTextInputNotificationAction: IUNNotificationAction {
// Provided methods
fn m_action_with_identifier_title_options_text_input_button_title_text_input_placeholder(
identifier: NSString,
title: NSString,
options: &[UNNotificationActionOptions],
text_input_button_title: NSString,
text_input_placeholder: NSString,
) -> Self
where Self: Sized + FromId { ... }
fn m_action_with_identifier_title_options_icon_text_input_button_title_text_input_placeholder(
identifier: NSString,
title: NSString,
options: &[UNNotificationActionOptions],
icon: UNNotificationActionIcon,
text_input_button_title: NSString,
text_input_placeholder: NSString,
) -> Self
where Self: Sized + FromId { ... }
fn p_text_input_button_title(&self) -> NSString { ... }
fn p_text_input_placeholder(&self) -> NSString { ... }
}
Expand description
A trait containing all the methods for UNTextInputNotificationAction
Provided Methods§
Creates an action object that accepts text input from the user.
Creates an action object that accepts text input from the user.
The localized title of the text input button that the system displays to the user.
Sourcefn p_text_input_placeholder(&self) -> NSString
fn p_text_input_placeholder(&self) -> NSString
The placeholder text that the system localizes and displays in the text input field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.