aerogear-xamarin-sdk
AeroGear Xamarin SDK
|
Builder class to create a new instance of the T:AeroGear.Mobile.Core.Options class. More...
Public Member Functions | |
OptionsBuilder | Logger (ILogger logger) |
Sets specific logger to be used with the core. More... | |
OptionsBuilder | ConfigFileName (string configFileName) |
Sets name of the JSON configuration file that will be read from resources. More... | |
OptionsBuilder | ConfigJSON (string configJson) |
Sets configuration directly from string. More... | |
OptionsBuilder | HttpServiceModule (IHttpServiceModule httpServiceModule) |
Set the specific implementation of HTTP to be used with the core. More... | |
OptionsBuilder | HttpAllowAutoRedirect (bool allowAutoRedirect) |
Set whether the default HTTP Client should allow redirects. This does not apply when specifying a custom HTTP Client using HttpServiceModule(IHttpServiceModule). More... | |
Options | Build () |
Creates options to be used to initialize the core. More... | |
Builder class to create a new instance of the T:AeroGear.Mobile.Core.Options class.
Options AeroGear.Mobile.Core.Options.OptionsBuilder.Build | ( | ) |
Creates options to be used to initialize the core.
OptionsBuilder AeroGear.Mobile.Core.Options.OptionsBuilder.ConfigFileName | ( | string | configFileName | ) |
Sets name of the JSON configuration file that will be read from resources.
configFileName | file name |
OptionsBuilder AeroGear.Mobile.Core.Options.OptionsBuilder.ConfigJSON | ( | string | configJson | ) |
Sets configuration directly from string.
configJson | JSON string with configuration |
OptionsBuilder AeroGear.Mobile.Core.Options.OptionsBuilder.HttpAllowAutoRedirect | ( | bool | allowAutoRedirect | ) |
Set whether the default HTTP Client should allow redirects. This does not apply when specifying a custom HTTP Client using HttpServiceModule(IHttpServiceModule).
allowAutoRedirect | If set to true allow auto redirect. |
OptionsBuilder AeroGear.Mobile.Core.Options.OptionsBuilder.HttpServiceModule | ( | IHttpServiceModule | httpServiceModule | ) |
Set the specific implementation of HTTP to be used with the core.
httpServiceModule | http service module |
OptionsBuilder AeroGear.Mobile.Core.Options.OptionsBuilder.Logger | ( | ILogger | logger | ) |
Sets specific logger to be used with the core.
logger | logger |