AppActs.API.DataUploader.AppSession.Upgrade C# (CSharp) 메소드

Upgrade() 공개 메소드

public Upgrade ( string appVersion ) : void
appVersion string
리턴 void
        public void Upgrade(string appVersion)
        {
            this.iDeviceService.Log
                (
                    new UpgradeInfo()
                    {
                        ApplicationId = this.applicationId,
                        DeviceId = this.deviceId,
                        Version = appVersion
                    }
                );
        }

Usage Example

예제 #1
0
        static void route_normal_journey_upgrade(Device device, DateTime timeWhenUsed, string version)
        {
            AppSession appSession = new AppSession(device.DeviceId, appId, timeWhenUsed, version, deviceService);

            appSession.Upgrade(version);
            appSession.Open();
            appSession.NavigateToSplash();
            appSession.NavigateToMain(getValue <long>(appScreenTimeUsed));
            appSession.ScreenMainActionSearch();
            appSession.NavigateToSearching(getValue <long>(appScreenTimeUsed));
            appSession.NavigateToResults(getValue <long>(appScreenTimeUsed));
            appSession.ScreenResultActionViewProfile();
            appSession.NavigateToProfile(getValue <long>(appScreenTimeUsed));
            appSession.Close(getValue <long>(appTimeUsed));
        }