Edit

Share via


GKNotificationBanner.Show Method

Definition

Overloads

Show(String, String, Action)
Show(String, String, Double, Action)

Shows a message for the specified time to the user, with a specified title.

Show(String, String, Action)

[Foundation.Export("showBannerWithTitle:message:completionHandler:")]
public static void Show (string title, string message, Action onCompleted);
static member Show : string * string * Action -> unit

Parameters

title
String

To be added.

This parameter can be null.

message
String

To be added.

This parameter can be null.

onCompleted
Action

To be added.

This parameter can be null.

Attributes

Applies to

Show(String, String, Double, Action)

Shows a message for the specified time to the user, with a specified title.

[Foundation.Export("showBannerWithTitle:message:duration:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Show (string title, string message, double durationSeconds, Action completionHandler);
[Foundation.Export("showBannerWithTitle:message:duration:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Show (string title, string message, double durationSeconds, Action completionHandler);
static member Show : string * string * double * Action -> unit

Parameters

title
String

Title for the message.

This parameter can be null.

message
String

Message to display.

This parameter can be null.

durationSeconds
Double

Time to display the .

completionHandler
Action

To be added.

This parameter can be null.

Attributes

Applies to