import { Want } from '@kit.AbilityKit'
import { AppUtil } from '@pura/harmony-utils'

export class WantUtils {

  /**
   * 跳转到相册
   */
  static toPhotoGallery() {
    let want: Want = {
      bundleName: 'com.huawei.hmos.photos',
      abilityName: 'com.huawei.hmos.photos.MainAbility'
    }
    AppUtil.getContext().startAbility(want)
  }
}