Exemplo n.º 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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构造
 /// </summary>
 public CreateAlbumBS()
 {
     createAlbumRequest = new CreateAlbumRequest();
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 /// <summary>
 /// 构造
 /// </summary>
 public CreateAlbumBS()
 {
     createAlbumRequest = new CreateAlbumRequest();
 }