Ejemplo n.º 1
0
        /// <summary>
        /// Initialize Android plugin
        /// </summary>
        public static void Init(IAptkAmaPluginConfiguration configuration)
        {
#if __ANDROID__ || __IOS__
            CurrentPlatform.Init();
#endif
            _configuration = configuration;
            _client        = CreateMobileServiceClient();
        }
Ejemplo n.º 2
0
        public AptkAmaDataService(IAptkAmaPluginConfiguration configuration, IMobileServiceClient client)
        {
            Configuration = configuration;
            Client        = client;

            // Init tables
            Initialize();
        }
Ejemplo n.º 3
0
        public AptkAmaLocalStoreService(string rootPath, IAptkAmaLocalStorePluginConfiguration localStoreConfiguration, IAptkAmaDataService dataService)
        {
            _rootPath = rootPath;
            _localStoreConfiguration = localStoreConfiguration;
            _configuration           = ((AptkAmaDataService)dataService).Configuration;
            _client = ((AptkAmaDataService)dataService).Client;

            Initialize();
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Service to send custom request
 /// </summary>
 /// <param name="configuration">Main plugin configuration</param>
 /// <param name="client">Mobile service client instance</param>
 public AptkAmaApiService(IAptkAmaPluginConfiguration configuration, IMobileServiceClient client)
 {
     _configuration = configuration;
     _client        = client;
 }
 protected AptkAmaBaseNotificationService(IMobileServiceClient client, IAptkAmaPluginConfiguration configuration)
 {
     Client        = client;
     Configuration = configuration;
 }
Ejemplo n.º 6
0
 internal AptkAmaService(IAptkAmaPluginConfiguration configuration, IMobileServiceClient client)
 {
     Configuration = configuration;
     Client        = client;
 }
 internal AptkAmaNotificationService(IMobileServiceClient client, IAptkAmaPluginConfiguration configuration) : base(client, configuration)
 {
     _dispatcher = CoreWindow.GetForCurrentThread().Dispatcher;
 }
 /// <summary>
 /// Service to manage identity
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="client"></param>
 protected AptkAmaBaseIdentityService(IAptkAmaPluginConfiguration configuration, IMobileServiceClient client)
 {
     _configuration = configuration;
     _client        = client;
 }
Ejemplo n.º 9
0
 public AptkAmaIdentityService(IAptkAmaPluginConfiguration configuration, IMobileServiceClient client) : base(configuration, client)
 {
     _configuration = configuration;
 }
 public AptkAmaNotificationService(IMobileServiceClient client, IAptkAmaPluginConfiguration configuration) : base(client, configuration)
 {
 }
Ejemplo n.º 11
0
 public AptkAmaIdentityHandler(IAptkAmaPluginConfiguration configuration, Action onLoggedOut = null)
 {
     _configuration = configuration;
     _onLoggedOut   = onLoggedOut;
 }