PubMaticSDK

Document created by catherine.racette on Sep 12, 2017Last modified by david.simerly on Apr 11, 2018
Version 9Show Document
  • View in full screen mode

Return to list of References

 

Inherits from
NSObject
Declared in
PubMaticSDK.h

 

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.

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

Attachments

    Outcomes