Page tree


Inherits fromNSObject
Declared inPubMaticSDK.h

Tasks

+ setLogLevel:

+ sdkVersion

+ setLocationDetectionEnabled:

Class Methods

sdkVersion

Returns the PubMatic SDK’s version.

+ (NSString *)sdkVersion

Declared In

PubMaticSDK.h

setLocationDetectionEnabled:

Enables or disables location detection.

+ (void)setLocationDetectionEnabled:(BOOL)enabled

Parameters

enabled: YES = enable location detection (default).

NO = disable location detection.

Discussion

Enabling location detection makes use of device location services to set the latitude/longitude server properties sent with each ad request. Once enabled, this method uses the device's most energy efficient options.

"alert">

It may take time to acquire the location after enabling location detection, so the ad network request may not immediately contain location data.

Declared In

PubMaticSDK.h


setLogLevel:

Sets log level across all formats, Default log level is PMLogLevelWarn

+ (void)setLogLevel:(PMLogLevel)logLevel

Declared In

PubMaticSDK.h


⇧ Top