Version: 2017.3

LocalNotification

class in UnityEngine.iOS

マニュアルに切り替える

説明

iOS.LocalNotification は、Apple UIKit フレームワークにある UILocalNotification クラス周辺のラッパーです。これは、iPhone/iPad/iPod Touch でのみ利用できます。

It represents notifications that an application can schedule for presentation to its user at specific dates and times. The operating system is responsible for delivering the notification at the specified time. Local notifications are similar to remote notifications but are scheduled and delivered locally and do not require connection with remote servers.

ローカル通知は NotificationServices クラスを使用して処理されます。

Static 変数

defaultSoundNameデフォルトのサウンド名を取得(読み込み専用)

変数

alertActionアクションボタンやスライダーのタイトル
alertBodyアラートが通知されたときに表示するメッセージ
alertLaunchImageユーザーがアクションボタンをタップするときの、アプリ起動時の画像
applicationIconBadgeNumberアプリアイコンのバッチとして表示される数
fireDate通知をする時間
hasActionアラートアクションが表示されているかの確認
repeatCalendarアラートが表示されたときに再生されるサウンドを含むファイル名
repeatIntervalカレンダーを更新する間隔
soundNameアラートが表示されたときに再生するサウンド名
timeZoneタイムゾーン
userInfoカスタム情報を dictionary クラスで作成し、設定する

コンストラクタ

LocalNotification新規のローカル通知を作成します