Switchboard SDK
Loading...
Searching...
No Matches
switchboard::PlatformInfo Class Reference

Static Public Member Functions

static const char * getPlatform ()
 Gets the name of the platform.
 
static const char * getBundleId ()
 Get the bundle ID of the application.
 
static const char * getDeviceId ()
 Gets the unique identifier of the device.
 
static void setProvider (const PlatformInfoProvider *provider)
 Sets the provider for the platform information.
 

Member Function Documentation

◆ getBundleId()

const char * switchboard::PlatformInfo::getBundleId ( )
static

Get the bundle ID of the application.

Returns
const char* The bundle ID of the application.

◆ getDeviceId()

const char * switchboard::PlatformInfo::getDeviceId ( )
static

Gets the unique identifier of the device.

Returns
const char* The unique identifier of the device.

◆ getPlatform()

const char * switchboard::PlatformInfo::getPlatform ( )
static

Gets the name of the platform.

Returns
const char* The name of the platform.

◆ setProvider()

void switchboard::PlatformInfo::setProvider ( const PlatformInfoProvider * provider)
static

Sets the provider for the platform information.

This method should be called either before the SDK initialization or called automatically by the SDK. If it is called before SDK initialization, do not reset the provider during the automatic call.

Parameters
providerThe provider for the platform information.