Exemple #1
0
        void IndicateStatusChanged(WebDomainVerifier source, StateChangeEventArgs args)
        {
            // Indicate verification finished
            eventsText.AppendLine();
            eventsText.Append("Status changed to: ");
            eventsText.Append(args.NewState);

            // Apply text to label
            eventsStatusLabel.text = eventsText.ToString();
        }
Exemple #2
0
        void IndicateVerificationStarted(WebDomainVerifier source, VerifyEventArgs args)
        {
            // Indicate verification started
            eventsText.AppendLine(VerificationStartMessage);

            // Append status info
            eventsText.Append(StatusMessage);
            eventsText.Append(source.CurrentState);
            eventsText.AppendLine();

            // Append time info
            eventsText.Append("Start time: ");
            eventsText.Append(args.StartTime);
            eventsText.Append(" seconds since app has started");

            // Apply text to label
            eventsStatusLabel.text = eventsText.ToString();
        }
Exemple #3
0
        void IndicateVerificationEnded(WebDomainVerifier source, VerifyEventArgs args)
        {
            // Indicate verification finished
            eventsText.AppendLine();
            eventsText.AppendLine(VerificationEndMessage);

            // Append status info
            eventsText.Append(StatusMessage);
            eventsText.Append(domainVerifier.CurrentState);
            eventsText.AppendLine();

            // Append duration info
            eventsText.Append("Processing duration: ");
            eventsText.Append(args.VerificationDurationSeconds);
            eventsText.Append(" seconds");

            // Update the label
            eventsStatusLabel.text = eventsText.ToString();
        }