123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- namespace Vinno.vCloud.Common.FIS
- {
- public interface IvCloudTerminalV2 : IDisposable
- {
- /// <summary>
- /// Get Terminal name.
- /// </summary>
- string TerminalName { get; }
- /// <summary>
- /// Get Terminal mode.
- /// </summary>
- string TerminalMode { get; }
- /// <summary>
- /// The uniqueId create when terminal created, used to add terminal for client user.
- /// </summary>
- string UniqueId { get; }
- /// <summary>
- /// Gets the status of the Terminal
- /// </summary>
- TerminalStatus Status { get; }
- /// <summary>
- /// Raised when the status is changed.
- /// </summary>
- event EventHandler StatusChanged;
- /// <summary>
- /// Get the feature instance by feature enum.
- /// </summary>
- /// <typeparam name="T">The interface of the feature</typeparam>
- /// <param name="featureType">The feature type</param>
- /// <returns>The instance of the feature</returns>
- /// <remarks>
- /// If the feature doesn't exist, this method will return null.
- /// </remarks>
- T GetFeature<T>(TerminalFeatureType featureType) where T : IFeatureV2;
- /// <summary>
- /// Disconnect to server.
- /// </summary>
- void Disconnect();
- /// <summary>
- /// Update enabled feature types.
- /// </summary>
- /// <param name="enabledFeatureTypes">The enabled feature types.</param>
- void UpdateFeatures(IEnumerable<TerminalFeatureType> enabledFeatureTypes);
- /// <summary>
- /// Set the device is Encrypted Show,
- /// </summary>
- /// <param name="isEncryptedShow"></param>
- /// <returns>Set Result,The old server is not applicable,it will be false</returns>
- bool SetIsEncryptedShow(bool isEncryptedShow);
- /// <summary>
- /// Get the device is Encrypted Show,
- /// The old server always is false
- /// </summary>
- /// <returns></returns>
- bool IsEncryptedShow();
- }
- }
|