抖音开放平台Logo
开发者文档
小程序
快速入门
能力
开发
设计
经营
社区
控制台
  • 开发
教程
框架
组件
JS API
服务端 OpenAPI
行业插件
开发工具
更新日志
  • JS API 列表
  • 基础
  • TTML
  • 网络
  • 媒体
  • 图片
  • 录音
  • 音频
  • tt.getBackgroundAudioManager
  • BackgroundAudioManager
  • tt.createInnerAudioContext
  • InnerAudioContext
  • InnerAudioContext 概述
  • InnerAudioContext.play
  • InnerAudioContext.pause
  • InnerAudioContext.stop
  • InnerAudioContext.seek
  • InnerAudioContext.destroy
  • InnerAudioContext.onCanplay
  • InnerAudioContext.offCanplay
  • InnerAudioContext.onPlay
  • InnerAudioContext.onPause
  • InnerAudioContext.onEnded
  • InnerAudioContext.onTimeUpdate
  • InnerAudioContext.onError
  • InnerAudioContext.onWaiting
  • InnerAudioContext.onSeeking
  • InnerAudioContext.onSeeked
  • InnerAudioContext.offPlay
  • InnerAudioContext.offPause
  • InnerAudioContext.offStop
  • InnerAudioContext.offEnded
  • InnerAudioContext.offTimeUpdate
  • InnerAudioContext.offError
  • InnerAudioContext.offWaiting
  • InnerAudioContext.offSeeking
  • InnerAudioContext.offSeeked
  • InnerAudioContext.onStop
  • 视频
  • 相机
  • 特效相机
  • Canvas 录制
  • rtc-room 实时通信
  • 地图
  • 文件
  • 数据缓存
  • 地理位置
  • 设备
  • 画布
  • 界面
  • 页面导航
  • 开放接口
  • 行业开放
  • 第三方平台
  • 其它
  • 开发/JS API/媒体/音频/InnerAudioContext/InnerAudioContext.pause

    InnerAudioContext.pause
    收藏
    我的收藏

    基础库 1.0.0 开始支持本方法,这是一个同步方法。
    暂停播放。暂停后再次播放时基于此状态继续播放。

    语法

    InnerAudioContext.pause()

    参数说明

    无

    返回值

    无

    扫码体验

    代码示例

    开发者工具中预览
    ​

    Bug & Tip

    无
    ​
    填问卷