play.d.ts 500 B

123456789101112131415161718192021
  1. /**
  2. * 播放音频 请求参数定义
  3. * @apiName device.audio.play
  4. */
  5. export interface IDeviceAudioPlayParams {
  6. [key: string]: any;
  7. }
  8. /**
  9. * 播放音频 返回结果定义
  10. * @apiName device.audio.play
  11. */
  12. export interface IDeviceAudioPlayResult {
  13. [key: string]: any;
  14. }
  15. /**
  16. * 播放音频
  17. * @apiName device.audio.play
  18. * @supportVersion ios: 2.8.0 android: 2.8.0
  19. */
  20. export declare function play$(params: IDeviceAudioPlayParams): Promise<IDeviceAudioPlayResult>;
  21. export default play$;