blackberry.com
BlackBerry Dynamics
Runtime library for macOS applications
from the application developer portal
Classes | Enumerations | Variables

GDLogManager.h File Reference

#import <Foundation/Foundation.h>

Classes

Enumerations

Variables


Enumeration Type Documentation

Use the constants in this enumeration to check the current state of BlackBerry Dynamics activity log upload. The GDLogManager.uploadState property always takes one of these values.

Enumerator:
GDLogUploadStateIdle 

Log upload hasn't been started.

This is the initial state.

GDLogUploadStateInProgress 

Log upload has been started and is now underway.

GDLogUploadStateCompleted 

Log upload has finished.

GDLogUploadStateCancelled 

The last log upload operation was cancelled.

A new upload hasn't been started.

GDLogUploadStateSuspended 

Log upload has been started but is currently suspended.

GDLogUploadStateResumed 

Log upload was suspended but has now been resumed.


Variable Documentation

NSString* const GDLogUploadNotification

Use this value to add an NSNotificationCenter observer of BlackBerry Dynamics activity log upload progress. See the GDLogManager class reference for details.

The maximum duration for which detailed logging can be switched on by the detailedLoggingFor: (GDLogManager) function.

Proposed by Jim, 15 min is considered a reasonable max duration that discourages users from leaving detailed logging on for too long.