Exemple #1
0
        public ReCapPhotosceneOptionsBuilder(
            MeshQualityEnum meshQuality,
            MeshFormatEnum meshFormat)
        {
            _metaDataMap = new Dictionary <string, string>();

            _meshQuality = meshQuality.ToReCapString();

            _meshFormat = meshFormat.ToReCapString();
        }
        GetPhotosceneLinkAsync(
            string photosceneId,
            MeshFormatEnum meshFormat)
        {
            var request = new RestRequest(
                string.Format("photoscene/{0}", photosceneId),
                Method.GET);

            request.AddParameter("clientID", _clientId);
            request.AddParameter("format", meshFormat.ToReCapString());
            request.AddParameter("json", 1);

            return(_restClient.ExecuteAsync
                   <ReCapPhotosceneResponse>(
                       request));
        }