CKNotification 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
发送到应用的推送通知。
[Foundation.Register("CKNotification", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class CKNotification : Foundation.NSObject, Foundation.INSSecureCoding, IDisposable
type CKNotification = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSSecureCoding
- 继承
- 派生
- 属性
- 实现
构造函数
| CKNotification(IntPtr) |
创建非托管对象的托管表示形式时使用的构造函数;由运行时调用。 |
| CKNotification(NSCoder) |
从 unarchiver 对象中存储的数据初始化 对象的构造函数。 |
| CKNotification(NSObjectFlag) |
用于调用派生类的构造函数,以跳过初始化并仅分配 对象。 |
属性
| AlertActionLocalizationKey |
获取文件中的一个密钥, |
| AlertBody |
获取警报正文文本。 |
| AlertLaunchImage |
获取用户从通知警报启动应用的启动映像的文件名。 |
| AlertLocalizationArgs |
获取与触发通知的记录中的字段名称对应的字符串数组。 用于替换成警报格式字符串。 |
| AlertLocalizationKey |
获取文件中标识本地化警报消息的密钥 |
| Badge |
获取锁屏提醒值。 |
| Category |
获取通知的操作组名称。 |
| Class |
发送到应用的推送通知。 (继承自 NSObject) |
| ClassHandle |
此类的句柄。 |
| ContainerIdentifier |
获取触发通知的内容的容器的标识符。 |
| DebugDescription |
此对象的开发人员有意义的说明。 (继承自 NSObject) |
| Description |
对象的说明,即 ToString 的 Objective-C 版本。 (继承自 NSObject) |
| Handle |
处理指向非托管对象表示形式的 (指针) 。 (继承自 NSObject) |
| IsDirectBinding |
发送到应用的推送通知。 (继承自 NSObject) |
| IsProxy |
发送到应用的推送通知。 (继承自 NSObject) |
| IsPruned |
获取一个布尔值,该值指示数据是否由服务器缩短。 |
| NotificationId |
获取通知标识符。 |
| NotificationType |
获取触发事件的类型。 |
| RetainCount |
返回对象的当前 Objective-C 保留计数。 (继承自 NSObject) |
| Self |
发送到应用的推送通知。 (继承自 NSObject) |
| SoundName |
获取通知到达时应用程序捆绑包中要播放的声音的名称。 |
| SubscriptionID |
获取触发通知的订阅的标识符。 |
| Subtitle |
发送到应用的推送通知。 |
| SubtitleLocalizationArgs |
发送到应用的推送通知。 |
| SubtitleLocalizationKey |
发送到应用的推送通知。 |
| Superclass |
发送到应用的推送通知。 (继承自 NSObject) |
| SuperHandle |
用于表示此 NSObject 基类中方法的句柄。 (继承自 NSObject) |
| Title |
发送到应用的推送通知。 |
| TitleLocalizationArgs |
发送到应用的推送通知。 |
| TitleLocalizationKey |
发送到应用的推送通知。 |
| Zone |
发送到应用的推送通知。 (继承自 NSObject) |
方法
扩展方法
| ObjectDidBeginEditing(NSObject, INSEditor) |
发送到应用的推送通知。 |
| ObjectDidEndEditing(NSObject, INSEditor) |
发送到应用的推送通知。 |
| GetValidModes(NSObject, NSFontPanel) |
发送到应用的推送通知。 |
| ValidateToolbarItem(NSObject, NSToolbarItem) |
发送到应用的推送通知。 |
| GetDebugDescription(INSObjectProtocol) |
发送到应用的推送通知。 |
| AcceptsPreviewPanelControl(NSObject, QLPreviewPanel) |
发送到应用的推送通知。 |
| BeginPreviewPanelControl(NSObject, QLPreviewPanel) |
发送到应用的推送通知。 |
| EndPreviewPanelControl(NSObject, QLPreviewPanel) |
发送到应用的推送通知。 |
| GetAccessibilityCustomRotors(NSObject) |
获取适用于 |
| SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[]) |
设置适用于 |