aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Core.Utils.IPlatformBridge Interface Reference

The platform bridge is an object that allows access to platform dependent informations/feature from the shared, platform agnostic, code. To get an instance of the platform bridge, the ServiceFinder class must be used: More...

Inheritance diagram for AeroGear.Mobile.Core.Utils.IPlatformBridge:
AeroGear.Mobile.Core.Utils.AndroidPlatformBridge AeroGear.Mobile.Core.Utils.IOSPlatformBridge

Public Member Functions

IUserPreferences GetUserPreferences (string storageName=null)
 Gets the user preferences store. More...
 

Properties

ApplicationRuntimeInfo ApplicationRuntimeInfo [get]
 Gets the application runtime info. More...
 
PlatformInfo PlatformInfo [get]
 Gets the platform info. More...
 

Detailed Description

The platform bridge is an object that allows access to platform dependent informations/feature from the shared, platform agnostic, code. To get an instance of the platform bridge, the ServiceFinder class must be used:

<![CDATA[ IPlatformBridge bridge = ServiceFinder.Resolve<IPlatformBridge>(); ]]>

Member Function Documentation

◆ GetUserPreferences()

IUserPreferences AeroGear.Mobile.Core.Utils.IPlatformBridge.GetUserPreferences ( string  storageName = null)

Gets the user preferences store.

Returns
The user preferences store.
Parameters
storageNameStorage name. Can be null.

Implemented in AeroGear.Mobile.Core.Utils.AndroidPlatformBridge, and AeroGear.Mobile.Core.Utils.IOSPlatformBridge.

Property Documentation

◆ ApplicationRuntimeInfo

ApplicationRuntimeInfo AeroGear.Mobile.Core.Utils.IPlatformBridge.ApplicationRuntimeInfo
get

Gets the application runtime info.

The application runtime info.

◆ PlatformInfo

PlatformInfo AeroGear.Mobile.Core.Utils.IPlatformBridge.PlatformInfo
get

Gets the platform info.

The platform info.


The documentation for this interface was generated from the following file: