EPXProximityObserverConfiguration
@interface EPXProximityObserverConfiguration : NSObject
Used to customize Proximity Observer behaviour.
-
Creates a default Proximity Observer configuration object, which has
EPXLogLevelWarning
logs level, and enabled both requesting Core Location authorization and telemetry reporting.Declaration
Objective-C
@property (readonly, strong, nonatomic, class) EPXProximityObserverConfiguration *_Nonnull defaultConfiguration;
Swift
class var `default`: ProximityObserverConfiguration { get }
-
Logger level. Defines which logs generated by Estimote Proximity SDK are printed to the Xcode’s console.
Declaration
Objective-C
@property (readonly, assign, nonatomic) EPXLogLevel logLevel;
Swift
var logLevel: EPXLogLevel { get }
-
Indicates if SDK should request Core Location’s authorization.
Declaration
Objective-C
@property (readonly, assign, nonatomic) BOOL requestsCLAuthorization;
Swift
var requestsCLAuthorization: Bool { get }
-
Indicates if full telemetry data will be reported to the Cloud.
Declaration
Objective-C
@property (readonly, assign, nonatomic) BOOL telemetryReportingEnabled;
Swift
var telemetryReportingEnabled: Bool { get }
-
Convenience intializer for creating a custom configuration.
Declaration
Objective-C
+ (nonnull instancetype)customWithLogLevel:(EPXLogLevel)logLevel requestsCLAuthorization:(BOOL)requestsCLAuthorization telemetryReportingEnabled:(BOOL)telemetryReportingEnabled;
Swift
class func custom(with logLevel: EPXLogLevel, requestsCLAuthorization: Bool, telemetryReportingEnabled: Bool) -> Self
Parameters
logLevel
Defines which logs will be printed.
requestsCLAuthorization
Indicates if Core Location authorization should be requested.
telemetryReportingEnabled
Indicates if telemetry reporting should be enabled.
Return Value
Initialized custom configuration.