Esempio n. 1
0
        public RUIResult StartSdk()
        {
            var result = RUIResult.sdkNotStarted;

            try
            {
                result = RuiSdk.StartSDK();
                return(result);
            }
            catch (RUISDKCreationException ex)
            {
                Dev2Logger.Error("Error in StartSdk method (RUISDKCreationException)", ex, Core.RevulyticsSdkError);
                return(result);
            }
            catch (ArgumentNullException e)
            {
                Dev2Logger.Error("Error in StartSdk method (ArgumentNullException)", e, Core.RevulyticsSdkError);
                return(result);
            }
            catch (Exception e)
            {
                Dev2Logger.Error("Error in StartSdk method", e, Core.RevulyticsSdkError);
                return(result);
            }
        }
Esempio n. 2
0
 public RUIResult StartSdk()
 {
     return(RuiSdk.StartSDK());
 }