次の方法で共有


UNTextInputNotificationAction.FromIdentifier メソッド

定義

指定した値を持つ新しいテキスト入力通知アクションを作成して返します。

[Foundation.Export("actionWithIdentifier:title:options:textInputButtonTitle:textInputPlaceholder:")]
public static UserNotifications.UNTextInputNotificationAction FromIdentifier (string identifier, string title, UserNotifications.UNNotificationActionOptions options, string textInputButtonTitle, string textInputPlaceholder);
static member FromIdentifier : string * string * UserNotifications.UNNotificationActionOptions * string * string -> UserNotifications.UNTextInputNotificationAction

パラメーター

identifier
String

アプリのスコープ内のアクションの一意識別子。

title
String

アクションのタイトル。

options
UNNotificationActionOptions

通知アクション のオプション。

textInputButtonTitle
String

テキスト入力ボタンのタイトル。

textInputPlaceholder
String

プレースホルダー テキスト。

戻り値

指定された値を持つ新しいテキスト入力通知アクション

属性

適用対象