AndroidNotificationCancel

通知を発行する Title = タイトル SubTitle = サブタイトル Icon = アイコン(-1でデフォルトのアイコン) ShowWhen = 通知時刻を表示するか(dxlib_d.DxDataType.TRUE:表示する dxlib_d.DxDataType.FALSE:表示しない) AutoCancel = 通知がタップされたら通知を削除するか(dxlib_d.DxDataType.TRUE:タップされたら通知を削除する dxlib_d.DxDataType.FALSE:Cancel されるまで通知を削除しない) NotifyID = 通知ID Vibrate = 振動パターン用のint型配列(時間の単位はミリ秒)、nullの場合は振動なし(Vibrate[0]:振動停止時間 Vibrate[1]:振動時間 Vibrate[2]:振動停止時間 Vibrate[3]:振動時間 ... 以下繰り返し) VibrateLength = Vibrate 配列の要素数 LightColor = 通知時のライトの色(GetColorで取得)、LightOnTime か LightOffTimeが0の場合はライトの点灯無し LightOnTime = ライトの点灯時間(単位:ミリ秒) LightOffTime = ライトの消灯時間(単位:ミリ秒) extern int AndroidNotification(const (dxlib_d.DxDataType.TCHAR)* Title, const (dxlib_d.DxDataType.TCHAR)* SubTitle, int Icon = -1, int ShowWhen = dxlib_d.DxDataType.TRUE, int AutoCancel = dxlib_d.DxDataType.TRUE, int NotifyId = 0, int* Vibrate = null, int VibrateLength = 0, uint LightColor = 0, int LightOnTime = 0, int LightOffTime = 0); extern int AndroidNotificationWithStrLen(const (dxlib_d.DxDataType.TCHAR)* Title, size_t TitleLength, const (dxlib_d.DxDataType.TCHAR)* SubTitle, size_t SubTitleLength, int Icon = -1, int ShowWhen = dxlib_d.DxDataType.TRUE, int AutoCancel = dxlib_d.DxDataType.TRUE, int NotifyId = 0, int* Vibrate = null, int VibrateLength = 0, uint LightColor = 0, int LightOnTime = 0, int LightOffTime = 0);

/** 通知をキャンセルする NotifyID = 通知ID

version(Android)
extern (C) nothrow @nogc extern (C++, DxLib) extern
int
AndroidNotificationCancel
()

Meta