Method | Description | |
---|---|---|
CheckIfBackgroundFilterUpdateIsRequired ( ) : bool |
Checks if the background filters are up-to-date or not. To update the filters, unregister and register background task again (call BackgroundTaskManager.UpdateBackgroundTaskAsync()).
|
|
RegisterBackgroundTaskAsync ( |
Register background tasks, by the given configuration.
|
|
RegisterOnProgressEventHandler ( ) : void |
Will remove OnProgress event handlers from advertisement background task OnProgress events are used to indicate UI tasks on beacon actions resolved in background.
|
|
RegisterTimedBackgroundTask ( string timerClassName ) : |
Registers the timed background task.
|
|
UnRegisterOnProgressEventHandler ( ) : void |
Will remove OnProgress event handlers from advertisement background task OnProgress events are used to indicate UI tasks on beacon actions resolved in background.
|
|
UnregisterBackgroundTask ( ) : void |
Unregister all backgroundtasks.
|
|
UpdateBackgroundTaskAsync ( |
Renew the registrations of the background taks.
|
Method | Description | |
---|---|---|
BackgroundTaskRegistered ( string taskName ) : bool |
Checks if a background task with the given name is registered.
|
|
LoadBackgroundActions ( ) : System.Threading.Tasks.Task | ||
OnAdvertisementWatcherBackgroundTaskCompleted ( IBackgroundTaskRegistration sender, |
Note: This handler is called only if the task completed while the application was in the foreground.
|
|
OnAdvertisementWatcherBackgroundTaskProgress ( |
||
OnTimedBackgroundTaskCompleted ( IBackgroundTaskRegistration sender, |
Note: This handler is called only if the task completed while the application was in the foreground.
|
|
RegisterAdvertisementWatcherBackgroundTaskAsync ( |
Registers the BLE advertisement watcher background task.
|
public static CheckIfBackgroundFilterUpdateIsRequired ( ) : bool | ||
return | bool |
public RegisterBackgroundTaskAsync ( |
||
configuration | Configuration for the new registration. | |
return | Task |
public RegisterOnProgressEventHandler ( ) : void | ||
return | void |
public RegisterTimedBackgroundTask ( string timerClassName ) : |
||
timerClassName | string | Classname of the timer background service. |
return |
public UnRegisterOnProgressEventHandler ( ) : void | ||
return | void |
public UpdateBackgroundTaskAsync ( |
||
configuration | Configuration for the new registration. | |
return | Task |