using System.Collections.Generic; namespace Plugins.Countly { public interface ICountlyUtils { string GetUniqueDeviceId(); /// /// Gets the base url to make requests to the Countly server. /// /// string GetBaseInputUrl(); /// /// Gets the base url to make remote configrequests to the Countly server. /// /// string GetBaseOutputUrl(); /// /// Gets the base url to make remote configrequests to the Countly server. /// /// string GetRemoteConfigOutputUrl(); /// /// Gets the least set of paramas required to be sent along with each request. /// /// Dictionary GetBaseParams(); /// /// Gets the least set of app key and device id required to be sent along with remote config request, /// /// Dictionary GetAppKeyAndDeviceIdParams(); bool IsNullEmptyOrWhitespace(string input); /// /// Validates the picture format. The Countly server supports a specific set of formats only. /// /// /// bool IsPictureValid(string pictureUrl); string GetStringFromBytes(byte[] bytes); } }