UNNotificationCategory.FromIdentifier Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FromIdentifier(String, UNNotificationAction[], String[], UNNotificationCategoryOptions) |
Crea e restituisce una nuova categoria di notifica dagli argomenti specificati. |
FromIdentifier(String, UNNotificationAction[], String[], String, UNNotificationCategoryOptions) |
Crea e restituisce una nuova categoria di notifica dagli argomenti specificati. |
FromIdentifier(String, UNNotificationAction[], String[], String, NSString, UNNotificationCategoryOptions) |
FromIdentifier(String, UNNotificationAction[], String[], UNNotificationCategoryOptions)
Crea e restituisce una nuova categoria di notifica dagli argomenti specificati.
[Foundation.Export("categoryWithIdentifier:actions:intentIdentifiers:options:")]
public static UserNotifications.UNNotificationCategory FromIdentifier (string identifier, UserNotifications.UNNotificationAction[] actions, string[] intentIdentifiers, UserNotifications.UNNotificationCategoryOptions options);
static member FromIdentifier : string * UserNotifications.UNNotificationAction[] * string[] * UserNotifications.UNNotificationCategoryOptions -> UserNotifications.UNNotificationCategory
Parametri
- identifier
- String
Identificatore univoco dell'app per la categoria.
- actions
- UNNotificationAction[]
Quattro o meno azioni da visualizzare.
- intentIdentifiers
- String[]
Identificatori di finalità per la categoria.
- options
- UNNotificationCategoryOptions
Opzioni categoria.
Restituisce
- Attributi
Si applica a
FromIdentifier(String, UNNotificationAction[], String[], String, UNNotificationCategoryOptions)
Crea e restituisce una nuova categoria di notifica dagli argomenti specificati.
[Foundation.Export("categoryWithIdentifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UserNotifications.UNNotificationCategory FromIdentifier (string identifier, UserNotifications.UNNotificationAction[] actions, string[] intentIdentifiers, string hiddenPreviewsBodyPlaceholder, UserNotifications.UNNotificationCategoryOptions options);
static member FromIdentifier : string * UserNotifications.UNNotificationAction[] * string[] * string * UserNotifications.UNNotificationCategoryOptions -> UserNotifications.UNNotificationCategory
Parametri
- identifier
- String
Identificatore univoco dell'app per la categoria.
- actions
- UNNotificationAction[]
Quattro o meno azioni da visualizzare.
- intentIdentifiers
- String[]
Identificatori di finalità per la categoria.
- hiddenPreviewsBodyPlaceholder
- String
Stringa da visualizzare quando le anteprime di notifica sono disabilitate.
- options
- UNNotificationCategoryOptions
Opzioni categoria.
Restituisce
Nuova categoria di notifica dagli argomenti specificati.
- Attributi
Si applica a
FromIdentifier(String, UNNotificationAction[], String[], String, NSString, UNNotificationCategoryOptions)
[Foundation.Export("categoryWithIdentifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:categorySummaryFormat:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UserNotifications.UNNotificationCategory FromIdentifier (string identifier, UserNotifications.UNNotificationAction[] actions, string[] intentIdentifiers, string hiddenPreviewsBodyPlaceholder, Foundation.NSString categorySummaryFormat, UserNotifications.UNNotificationCategoryOptions options);
static member FromIdentifier : string * UserNotifications.UNNotificationAction[] * string[] * string * Foundation.NSString * UserNotifications.UNNotificationCategoryOptions -> UserNotifications.UNNotificationCategory
Parametri
- identifier
- String
- actions
- UNNotificationAction[]
- intentIdentifiers
- String[]
- hiddenPreviewsBodyPlaceholder
- String
- categorySummaryFormat
- NSString
- options
- UNNotificationCategoryOptions
Restituisce
- Attributi