예제 #1
0
 /// <summary>
 /// 创建相册
 /// </summary>
 public void CreateAlbum(string name, string description, string location, CreateAlbumRequest.CreateAlbumCompletedHandler callback)
 {
     if (createAlbumBS == null)
     {
         createAlbumBS = new CreateAlbumBS();
     }
     createAlbumBS.CleanCreatAlbumEvent();
     createAlbumBS.CreateAlbumCompleted += callback;
     createAlbumBS.CreateAlbum(name, description, location);
 }
예제 #2
0
        /// <summary>
        /// 创建相册
        /// </summary>
        /// <param name="callback">回调</param>
        /// <param name="name">相册名称</param>
        /// <param name="caption">相册描述(可选)</param>
        /// <param name="location">位置(可选)</param>

        public void CreateAlbum(CreateAlbumRequest.CreateAlbumCompletedHandler callback, string name, string description = null, string location = null)
        {
            rrSDK.CreateAlbum(name, description, location, callback);
        }