UILocalNotification Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates time-based notifications that the operating system delivers to the user.
[Foundation.Register("UILocalNotification", true)]
public class UILocalNotification : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, IDisposable
[<Foundation.Register("UILocalNotification", true)>]
type UILocalNotification = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
- Inheritance
- Attributes
- Implements
Remarks
Local notifications are intended for simple date- and time-related notifications. The application does not need to be running for local notifications to be triggered by the operating system. Applications are limited to 64 local notifications.
Constructors
| Name | Description |
|---|---|
| UILocalNotification() | |
| UILocalNotification(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UILocalNotification(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| UILocalNotification(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AlertAction | |
| AlertBody | |
| AlertLaunchImage | |
| AlertTitle | |
| ApplicationIconBadgeNumber | |
| Category | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| DefaultSoundName |
Developers should not use this deprecated property. Developers should use 'UNNotificationSound.DefaultSound' instead. |
| Description | (Inherited from NSObject) |
| FireDate | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HasAction | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Region | |
| RegionTriggersOnce | |
| RepeatCalendar | |
| RepeatInterval | |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| SoundName | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| TimeZone | |
| UserInfo | |
| Zone | (Inherited from NSObject) |