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

Interface for factory methods creating objects with platform-specific implementations. More...

Inherited by AeroGear.Mobile.Core.IOSPlatformInjector, and AeroGear.Mobile.Core.Platform.Android.AndroidPlatformInjector.

Public Member Functions

ILogger CreateLogger ()
 Creates the logger. More...
 
Stream GetBundledFileStream (string fileName)
 Returns stream of file budled withhin your application. More...
 

Properties

Assembly ExecutingAssembly [get, set]
 Returns executing assembly. For accessing resources, etc. More...
 
String PlatformName [get]
 Returns platform name of the current injector. More...
 

Detailed Description

Interface for factory methods creating objects with platform-specific implementations.

Member Function Documentation

◆ CreateLogger()

ILogger AeroGear.Mobile.Core.IPlatformInjector.CreateLogger ( )

Creates the logger.

Returns
The logger.

◆ GetBundledFileStream()

Stream AeroGear.Mobile.Core.IPlatformInjector.GetBundledFileStream ( string  fileName)

Returns stream of file budled withhin your application.

Returns
readable stream

Property Documentation

◆ ExecutingAssembly

Assembly AeroGear.Mobile.Core.IPlatformInjector.ExecutingAssembly
getset

Returns executing assembly. For accessing resources, etc.

◆ PlatformName

String AeroGear.Mobile.Core.IPlatformInjector.PlatformName
get

Returns platform name of the current injector.

The name of the platform. (e.g. "Android","iOS")


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