GKNotificationBanner.Show 方法

定义

重载

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

向用户显示具有指定标题的指定时间的消息。

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

参数

title
String

内容待定。

此参数可以为 null

message
String

内容待定。

此参数可以为 null

onCompleted
Action

内容待定。

此参数可以为 null

属性

适用于

Show(String, String, Double, Action)

向用户显示具有指定标题的指定时间的消息。

[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

参数

title
String

邮件的标题。

此参数可以为 null

message
String

要显示的消息。

此参数可以为 null

durationSeconds
Double

显示 的时间。

completionHandler
Action

内容待定。

此参数可以为 null

属性

适用于