/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
iOS/SharedCode/NotificationHelper.h
26 строк
936 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
// // NotificationHelper.h // RobloxMobile // // Created by Ganesh on 5/14/14. // Copyright (c) 2014 ROBLOX. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UILocalNotification.h> #include <string> #include <boost/function.hpp> #include "reflection/Type.h" @interface NotificationHelper : NSObject + (id) sharedInstance; -(void)scheduleLocalNotification:(int)userId withAlertID:(int) alertID withAlertMessage:(std::string) alertMessage showInMinutesFromNow:(int) minutesFromNow; -(void)cancelAllNotification:(int)userId; -(void)cancelNotification:(int)userId withAlertID:(int) alertID; -(void)handleNotification:(UILocalNotification*)notification; -(void)getScheduledNotifications :(int) userId withResumeFunction :(boost::function<void(shared_ptr<const RBX::Reflection::ValueArray>)>) resumeFn withErrorFunction :(boost::function<void(std::string)>) errFn; @end