tencent cloud

Feedback

API Overview

Last updated: 2024-11-21 18:41:54

    1. Fundamentals

    1.1. System Capabilities

    Name
    Feature Description
    Earliest Version
    Determine whether the Mini Program's API, callbacks, parameters, components, etc., are usable in the current version.
    1.5.0
    Environment Variables
    1.5.1
    Convert Base64 string into an ArrayBuffer object.
    1.5.1
    Convert ArrayBuffer object into a Base64 string.
    1.5.1

    1.2 System

    Name
    Feature Description
    Earliest Version
    Asynchronously call and get system information.
    1.5.0
    Synchronously call and get system information.
    1.5.1
    Asynchronously get system information.
    1.5.1
    Get window information.
    1.5.1
    Get device settings.
    1.5.0
    Redirect to the system's Bluetooth settings page.
    1.5.1
    Redirect to the system's host client authorization management page.
    1.5.1
    Get the UserAgent of the Webview mini program.
    1.5.1
    Get basic device information.
    1.5.1
    Get basic information of the host client.
    1.5.1
    Get the host client's authorization settings.
    1.5.1

    1.3 Update

    Name
    Feature Description
    Earliest Version
    Get the globally unique version update manager for managing mini program updates.
    1.5.1
    Enforce a mini program to restart and use the new version.
    1.5.0
    Monitor events of requesting an update check result from the WeChat backend.
    1.5.0
    Monitor mini program update failure events.
    1.5.0
    Monitor mini program version update events.
    1.5.0

    1.4 Mini Program

    Name
    Feature Description
    Earliest Version
    Get the parameters at the initiation of the mini program.
    1.5.0
    Get the parameters at the initiation of this mini program session.
    1.5.1
    Monitor mini program error events.
    1.5.0
    Remove the listener function for mini program error events.
    1.5.0
    Monitor system theme change events.
    1.5.0
    Remove the listener function for system theme change events.
    1.5.0
    Monitor events "the page to be opened in the mini program does not exist".
    1.5.1
    Remove the listener function for events when the page to be opened in the mini program does not exist.
    1.5.1
    Monitor events of mini program switch to frontend.
    1.5.1
    Remove the listener function for events of mini program switch to frontend.
    1.5.1
    Monitor events of mini program switch to backend.
    1.5.1
    Remove the listener function for events of mini program switch to frontend.
    1.5.1
    Monitor unprocessed Promise rejection events.
    1.5.1
    Remove the listener function for unprocessed Promise rejection events.
    1.5.1

    1.5 Debugging

    Name
    Feature Description
    Earliest Version
    Set whether to activate the debugging switch.
    1.5.0
    Get the log manager object.
    1.5.1
    Print debug logs into the debugging panel.
    1.5.0
    Print error logs into the debugging panel.
    1.5.0
    Create a new group in the debugging panel.
    1.5.0
    Terminate the group created by console.group.
    1.5.0
    Print info logs into the debugging panel.
    1.5.0
    Print log entries into the debugging panel.
    1.5.0
    Print warn logs into the debugging panel.
    1.5.0
    Write debug logs.
    1.5.0
    Write info logs.
    1.5.0
    Write log entries.
    1.5.0
    Write warn logs.
    1.5.0
    Set the page where the real-time log page parameter is located
    1.5.16
    Write error log
    1.5.16
    Able to get the remaining space in the current cache.
    1.5.16
    Use the page where you set the real-time log page parameter
    1.5.16
    Write info logs
    1.5.16
    Setting up filter keywords
    1.5.16
    Write warn logs
    1.5.16
    Add keywords for filtering
    1.5.16
    Write error logs.
    1.5.16
    Write info logs.
    1.5.16
    Set keywords for filtering
    1.5.16
    Write warn logs.
    1.5.16
    

    2. Routing

    Name
    Feature Description
    Earliest Version
    Redirect to the tabBar page and close all other non-tabBar pages.
    1.5.0
    Close all pages and navigate to a specific page within the application.
    1.5.0
    Close the current page and redirect to a specific page within the application.
    1.5.0
    Retain the current page and redirect to a specific page within the application.
    1.5.1
    Close the current page and return to the previous page or multiple levels up.
    1.5.0
    Inter-page event communication channel
    1.5.1
    

    3. Redirection

    Name
    Feature Description
    Earliest Version
    Exit the current mini program.
    1.5.0
    Open another mini program.
    1.5.0
    Return to the previous mini program. This feature can only be successfully called when the current mini program has been launched by another mini program.
    1.5.1
    

    4. Forwarding

    Name
    Feature Description
    Earliest Version
    Hide the forwarding button on the current page.
    1.5.0
    Display the forwarding button on the current page.
    1.5.0
    Update forwarding attributes.
    1.5.0
    Open the share image pop-up window
    1.5.35
    onCopyUrl
    Listen to the event triggered when the user clicks the "Copy Link" button in the menu in the upper right corner
    1.5.35
    Remove all listening functions for events triggered when the user clicks the "Copy Link" button in the menu in the upper right corner
    1.5.35
    

    5. Interface

    5.1 Interaction

    Name
    Feature Description
    Earliest Version
    Hide the loading notification box.
    1.5.0
    Hide the message notification box.
    1.5.0
    Display the operation menu.
    1.5.0
    Display the loading notification box.
    1.5.0
    Display the modal dialog box.
    1.5.0
    Display the message notification box.
    1.5.0
    Initiate the inquiry dialog box for returning to the mini program page.
    1.5.1
    Terminate the inquiry dialog box for returning to the mini program page.
    1.5.1

    5.2 Navigation Bar

    Name
    Feature Description
    Earliest Version
    Dynamically set the title of the current page.
    1.5.0
    Set the color scheme for the page navigation bar.
    1.5.0
    Hide the button leading back to the homepage.
    1.5.0
    Display the navigation bar loading animation on the current page.
    1.5.1
    Hide the navigation bar loading animation on the current page.
    1.5.1

    5.3 Background

    Name
    Feature Description
    Earliest Version
    Dynamically set the background color of the window.
    1.5.0
    Dynamically set the style of the dropdown background text and loading image.
    1.5.0

    5.4、TabBar

    Name
    Feature Description
    Earliest Version
    Display the tabBar.
    1.5.0
    Hide the tabBar.
    1.5.0
    Dynamically set the overall style of the tabBar.
    1.5.0
    Dynamically set the content of a specific tabBar item. As of version 2.7.0, images can be temporary files and network files.
    1.5.0
    Display the red dot in the top right corner of a specific tabBar item.
    1.5.0
    Hide the red dot in the top right corner of a specific tabBar item.
    1.5.0
    Append text to the top right corner of a specific tabBar item.
    1.5.0
    Remove the text in the top right corner of a specific tabBar item.
    1.5.0

    5.5 Implement pull-to-refresh functionality

    Name
    Feature Description
    Earliest Version
    Initiate pull-to-refresh action.
    1.5.0
    Stop the pull-to-refresh action on the current page.
    1.5.0

    5.6 Scrolling

    Name
    Feature Description
    Earliest Version
    Scroll the page to the desired location, with two methods of positioning offered: selector and scroll distance.
    1.5.0
    Scroll to the specified location.
    1.5.0
    Scroll to the specified location.
    1.5.0

    5.7 Animation

    Name
    Feature Description
    Earliest Version
    Create an animation instance, termed as "animation".
    1.5.0
    Set the background color.
    1.5.0
    Set the "bottom" value.
    1.5.0
    Export the animation queue.
    1.5.0
    Set the height.
    1.5.0
    Set the "left" value.
    1.5.0
    In accordance with transform-function matrix.
    1.5.0
    In accordance with transform-function matrix3d.
    1.5.0
    Set the transparency.
    1.5.0
    Set the "right" value.
    1.5.0
    Rotate an angle clockwise from the origin.
    1.5.0
    Rotate an angle clockwise from a fixed axis.
    1.5.0
    Rotate an angle clockwise from the X-axis.
    1.5.0
    Rotate an angle clockwise from the Y-axis.
    1.5.0
    Rotate an angle clockwise from the Z-axis.
    1.5.0
    Scaling
    1.5.0
    Scaling
    1.5.0
    Scale the X-axis.
    1.5.0
    Scale the Y-axis.
    1.5.0
    Scale the Z-axis.
    1.5.0
    Skew the coordinates of the X and Y axes.
    1.5.0
    Skew the coordinates of the X-axis.
    1.5.0
    Skew the coordinates of the Y-axis.
    1.5.0
    Indicate the completion of a set of animations.
    1.5.0
    Set the top value.
    1.5.0
    Translation transformation
    1.5.0
    Perform a translation transformation on the xyz coordinates.
    1.5.0
    Translate along the X-axis.
    1.5.0
    Translate along the Y-axis.
    1.5.0
    Translate along the Z-axis.
    1.5.0
    Set the width.
    1.5.0

    5.8 Custom Component

    Name
    Feature Description
    Earliest Version
    Defer part of operations to be executed in the subsequent time slice.
    1.5.0

    5.9 Menu

    Name
    Feature Description
    Earliest Version
    Get the layout position information of the menu button (the capsule button in the top right corner).
    1.5.0

    5.10 Window

    Name
    Feature Description
    Earliest Version
    Monitor window size change events.
    1.5.0
    Remove the listener function for window size change events.
    1.5.1

    5.11 Font.

    Name
    Feature Description
    Earliest Version
    Dynamically load web fonts.
    1.5.0
    

    6. Network

    6.1 Initiate Request

    Name
    Feature Description
    Earliest Version
    Initiate an HTTPS network request.
    1.5.0
    Interrupt the request task.
    1.5.0
    Monitor Transfer-Encoding Chunk Received events.
    1.5.1
    Remove Transfer-Encoding Chunk Received events.
    1.5.1
    Monitor HTTP Response Header events.
    1.5.0
    Remove the listener function for HTTP Response Header events.
    1.5.0

    6.2 Upload

    Name
    Feature Description
    Earliest Version
    Upload local resources to the server.
    1.5.0
    Interrupt the upload task.
    1.5.0
    Monitor upload progress change events.
    1.5.0
    Stop monitoring upload progress change events.
    1.5.0
    Monitor HTTP Response Header events.
    1.5.0
    Remove the listener function for HTTP Response Header events.
    1.5.0

    6.3 Download

    Name
    Feature Description
    Earliest Version
    Download file resources to local storage. The client initiates a direct HTTPS GET request, returning the local temporary path of the file. The maximum file size allowed for a single download is 200 MB.
    1.5.1
    Interrupt the download task.
    1.5.1
    Monitor download progress change events.
    1.5.1
    Remove the listener function for download progress change events.
    1.5.1
    Monitor HTTP Response Header events.
    1.5.1
    Remove the listener function for HTTP Response Header events.
    1.5.1

    6.4、WebSocket

    Name
    Feature Description
    Earliest Version
    Send data through a WebSocket connection. It requires an initial wx.connectSocket, and data can only be sent after the wx.onSocketOpen callback.
    1.5.1
    Monitor WebSocket connection opening events.
    1.5.1
    Monitor events WebSocket receiving a message from the server.
    1.5.1
    Monitor WebSocket error events.
    1.5.1
    Monitor WebSocket connection closing events.
    1.5.1
    Create a WebSocket connection.
    1.5.1
    Disable WebSocket connection.
    1.5.1
    Disable WebSocket connection.
    1.5.0
    Monitor WebSocket connection closing events.
    1.5.0
    Monitor WebSocket error events.
    1.5.0
    Monitor events WebSocket receiving a message from the server.
    1.5.0
    Monitor WebSocket connection opening events.
    1.5.0
    Transmit data via the WebSocket connection.
    1.5.0

    6.5 UDP Communication

    Name
    Feature Description
    Earliest Version
    Creates a UDP Socket instance.
    1.5.1
    Bind to a system-assigned random available port, or bind to a specified port number.
    1.5.1
    Terminates a UDP Socket instance.
    1.5.1
    Connect to the specified IP and port in advance, which shall be used in conjunction with the write method.
    1.5.1
    Monitor closing events.
    1.5.1
    Remove the listener function for closing events.
    1.5.1
    Monitor error events.
    1.5.1
    Remove the listener function for error events.
    1.5.1
    Monitor events where the monitoring of packet messages is initiated.
    1.5.1
    Remove the listener function for events where the monitoring of packet messages is initiated.
    1.5.1
    Monitor message receipt events.
    1.5.1
    Remove the listener function for message receipt events.
    1.5.1
    Send messages to the designated IP and port.
    1.5.1
    Configure the IP_TTL socket option, which sets the maximum number of hops permitted for an IP packet during transmission.
    1.5.16
    The usage is the same as the send method.
    1.5.16

    6.6 TCP Communication

    Name
    Feature Description
    Earliest Version
    Creates a TCP Socket instance.
    1.5.1
    Bind the TCP Socket to the current Wi-Fi network, which will, upon successful execution, trigger the onBindWifi event (supported only on Android).
    1.5.1
    Disable Connection
    1.5.1
    Initiate a connection on the specified socket.
    1.5.1
    Monitor for events that are emitted once the socket is completely closed.
    1.5.1
    Remove the listener function for events that are emitted once the socket is completely closed.
    1.5.1
    Monitor events that are triggered when a socket connection is successfully established.
    1.5.1
    Remove the listener function for events that are triggered once the socket connection is successfully established.
    1.5.1
    Monitor is triggered when an error occurs.
    1.5.1
    Remove the listener function that is triggered when an error occurs.
    1.5.1
    Monitor events that are triggered when data is received.
    1.5.1
    Remove the listener function for events that are triggered when data is received.
    1.5.1
    Monitor events that are triggered when a socket successfully binds to the current Wi-Fi network.
    1.5.1
    Remove the listener function for events that are triggered when a socket successfully binds to the current Wi-Fi network.
    1.5.1
    Transmit data over the socket.
    1.5.1

    6.7、mDNS

    Name
    Feature Description
    Earliest Version
    Cease the mDNS searching services.
    1.5.1
    Initiate the search for mDNS services within the local area network.
    1.5.1
    Remove the listener function for events of mDNS service resolution failure.
    1.5.1
    Monitor events mDNS service resolution failure.
    1.5.1
    Remove the listener function for mDNS service departure events.
    1.5.1
    Monitor mDNS service departure events.
    1.5.1
    Remove the listener function for mDNS service discovery events.
    1.5.1
    Monitor mDNS service discovery events.
    1.5.1
    Remove the listener function for events of mDNS service searching cessation.
    1.5.1
    Monitor events of mDNS service searching cessation.
    1.5.1
    

    7. Data Caching

    Name
    Feature Description
    Earliest Version
    Store the data in the specified key within the local cache.
    1.5.0
    Store the data in the specified key within the local cache.
    1.5.0
    Destroy data stored in memory based on URL
    1.5.35
    Remove the specified key from the local cache.
    1.5.0
    Synced version of removeStorage.
    1.5.0
    Asynchronously get the content of the specified key from the local cache.
    1.5.0
    Create a unique URL based on the incoming buffer and store it in memory
    1.5.35
    Synchronously get the content of the specified key from the local cache.
    1.5.0
    Asynchronously get relevant information about the current storage.
    1.5.0
    Synced version of getStorageInfo.
    1.5.0
    Clear local data cache.
    1.5.0
    Synced version of clearStorage.
    1.5.0
    Batch store the data in the specified key within the local cache.
    1.5.16
    Synced version of batchSetStorage.
    1.5.16
    Asynchronously batch get the content of the specified key from the local cache.
    1.5.16
    Synced version of batchGetStorage.
    1.5.16
    

    8. Data Analysis

    Name
    Feature Description
    Earliest Version
    Report Event
    1.5.16
    

    9. Canvas

    9.1 Canvas Overview

    Name
    Feature Description
    Earliest Version
    Create a CanvasContext object.
    1.5.0
    Export the content of the specified area of the current canvas to generate an image of the designated size.
    1.5.0
    Draw pixel data onto the canvas.
    1.5.0
    Get the implicit pixel data from the canvas area.
    1.5.0
    Image Object
    1.5.16
    ImageData Object
    1.5.16
    Canvas Drawing Context
    1.5.16

    9.2、canvasContext

    Name
    Feature Description
    Earliest Version
    CanvasContext.arc
    Construct an arc line.
    1.5.0
    CanvasContext.arcTo
    Sketch an arc path based on control points and radius.
    1.5.0
    CanvasContext.beginPath
    Start creating a path.
    1.5.0
    CanvasContext.bezierCurveTo
    Formulate a cubic Bezier curve path.
    1.5.0
    CanvasContext.clearRect
    Erase the content within this rectangular area on the canvas.
    1.5.0
    CanvasContext.clip
    Excise any shape and size from the original canvas.
    1.5.0
    CanvasContext.closePath
    Close a path.
    1.5.0
    CanvasContext.createCircularGradient
    Craft a circular gradient hue.
    1.5.0
    CanvasContext.createLinearGradient
    Craft a linear gradient hue.
    1.5.0
    CanvasContext.createPattern
    The method of fabricating a pattern for a specified image can replicate the original image in the designated direction.
    1.5.0
    CanvasContext.draw
    Draw the prior descriptions (path, transformation, style) from the drawing context onto the canvas.
    1.5.0
    CanvasContext.drawImage
    Draw images onto the canvas.
    1.5.0
    CanvasContext.fill
    Implement filling within the current path's content.
    1.5.0
    CanvasContext.fillRect
    Fill a rectangle.
    1.5.0
    CanvasContext.fillText
    Draw filled text upon the canvas.
    1.5.0
    CanvasContext.lineTo
    Add a new point and then generate a line from the previously specified point to the target point.
    1.5.0
    CanvasContext.measureText
    Gauge the dimensions of the text.
    1.5.0
    CanvasContext.moveTo
    Move the path to a specified point within the canvas, without generating any lines.
    1.5.0
    CanvasContext.quadraticCurveTo
    Formulate a quadratic Bezier curve path.
    1.5.0
    CanvasContext.rect
    Create a rectangular path.
    1.5.0
    CanvasContext.restore
    Restore the previously stored drawing context.
    1.5.0
    CanvasContext.rotate
    Rotate the current coordinate axis clockwise, using the origin as the pivot.
    1.5.0
    CanvasContext.save
    Save the drawing context.
    1.5.0
    CanvasContext.scale
    Upon calling, the horizontal and vertical coordinates of the subsequently created paths will be scaled.
    1.5.0
    CanvasContext.setFillStyle
    Set the filling color.
    1.5.0
    CanvasContext.setFontSize
    Set the font size.
    1.5.0
    CanvasContext.setGlobalAlpha
    Set the global brush transparency.
    1.5.0
    CanvasContext.setLineCap
    Set the endpoint style of the line.
    1.5.0
    CanvasContext.setLineDash
    Set the style of the dashed line.
    1.5.0
    CanvasContext.setLineJoin
    Set the intersection style of the line.
    1.5.0
    CanvasContext.setLineWidth
    Set the line width.
    1.5.0
    CanvasContext.setMiterLimit
    Set the maximum miter length.
    1.5.0
    CanvasContext.setShadow
    Set the shade style.
    1.5.0
    CanvasContext.setStrokeStyle
    Set the color of the outline.
    1.5.0
    CanvasContext.setTextAlign
    Set the alignment of the text.
    1.5.0
    CanvasContext.setTextBaseline
    Set the vertical alignment of the text.
    1.5.0
    CanvasContext.setTransform
    Use the matrix to reset (overwrite) the current transformation method.
    1.5.0
    CanvasContext.stroke
    Draw the border of the current path.
    1.5.0
    CanvasContext.strokeRect
    Draw a rectangle (not a filled one).
    1.5.0
    CanvasContext.strokeText
    The method of sketching text outlines at the given (x, y) position.
    1.5.0
    CanvasContext.transform
    Use the matrix to repeatedly overlay the current transformation.
    1.5.0
    CanvasContext.translate
    Transform the origin (0, 0) of the current coordinate system.
    1.5.0

    9.3、CanvasGradient

    Name
    Feature Description
    Earliest Version
    Add gradient points of color.
    1.5.0

    9.4、Canvas

    Name
    Feature Description
    Earliest Version
    Cancel the animation request scheduled by requestAnimationFrame.
    1.5.16
    Create an ImageData object.
    1.5.16
    Create an image object.
    1.5.16
    Create a Path2D object.
    1.5.16
    This method returns the canvas drawing context.
    1.5.16
    To be executed upon the next redraw.
    1.5.16
    Return a data URL that contains the image display.
    1.5.16

    9.5、OffscreenCanvas

    Name
    Feature Description
    Earliest Version
    This method returns the OffscreenCanvas drawing context.
    1.5.16
    Create an image object.
    1.5.16

    9.6、Path2D

    Name
    Feature Description
    Earliest Version
    Add a path into the existing one.
    1.5.16
    Add a segment of an arc path.
    1.5.16
    Add a segment of an arc path by providing control points.
    1.5.16
    Add a cubic Bezier curve path.
    1.5.16
    Seal the path back to its origin.
    1.5.16
    Add an elliptical arc path.
    1.5.16
    Add a linear path.
    1.5.16
    Move the starting point of the path.
    1.5.16
    Add a quadratic Bezier curve path.
    1.5.16
    Add a square path.
    1.5.16
    

    10. Media

    10.1. Map

    Name
    Feature Description
    Earliest Version
    Create a MapContext object.
    1.5.0
    Add an arc line.
    1.5.16
    Add a personalized layer.
    1.5.16
    Create a custom image layer.
    1.5.16
    Add a marker.
    1.5.0
    Erase or gray out the line segments that have been integrated into the map.
    1.5.16
    Get the corresponding longitude and latitude of the point on the screen, with the coordinate origin situated at the top left corner of the map.
    1.5.0
    Get the longitude and latitude of the current map center.
    1.5.0
    Get the view field range of the current map.
    1.5.0
    Get the rotation angle of the current map.
    1.5.0
    Get the scaling level of the current map.
    1.5.0
    Get the tilt angle of the current map.
    1.5.0
    Scale the field of view to display all longitudes and latitudes.
    1.5.0
    Initialize the configuration of point aggregation.
    1.5.16
    Move the marker along the specified path, suitable for scenarios such as trajectory playback.
    1.5.0
    Shift the map center to the current location point, when it is necessary to set the map component show-location to true.
    1.5.0
    Monitor map events.
    1.5.16
    Launch the map APP and select navigation.
    1.5.0
    Erase the arc line.
    1.5.16
    Remove the personalized layer.
    1.5.16
    Remove the custom image layer.
    1.5.16
    Remove the marker.
    1.5.0
    Constrain the display scope of the map.
    1.5.16
    Set the offset of the map's central point.
    1.5.16
    Set the icon for the location point.
    1.5.16
    Get the screen coordinates corresponding to the latitude and longitude.
    1.5.16
    Translate the marker, along with animation.
    1.5.0
    Update the custom image layer.
    1.5.16

    10.2 Image.

    Name
    Feature Description
    Earliest Version
    Select an image from the local album or use the camera to capture one.
    1.5.0
    Image compression interface, with optional compression quality.
    1.5.1
    Get image information
    1.5.0
    Preview the image in full screen on a new page.
    1.5.0
    Preview of images and videos.
    1.5.1
    Save the image to the system's album.
    1.5.1
    Selecting files from the client session.
    1.5.1

    10.3 Real-time Audio and Video.

    Name
    Features
    Earliest Version
    Create a LivePusherContext object.
    1.5.0
    Create a LivePlayerContext object.
    1.5.0
    Exit Full Screen
    1.5.0
    Mute
    1.5.0
    Pause
    1.5.0
    Play
    1.5.0
    Full Screen
    1.5.0
    Restore
    1.5.0
    Screenshot
    1.5.0
    Stop
    1.5.0
    Initiate streaming while simultaneously enabling camera preview.
    1.5.0
    Cease streaming while concurrently disabling camera preview.
    1.5.0
    Pause streaming
    1.5.0
    Restore streaming
    1.5.0
    Switch between front and rear cameras.
    1.5.0
    Snapshot
    1.5.0
    Toggle flashlight.
    1.5.0
    Play background music
    1.5.0
    Cease background music.
    1.5.0
    Pause background music.
    1.5.0
    Restore background music.
    1.5.0
    Set the background music progress.
    1.5.0
    Set the microphone volume.
    1.5.0
    Set the background music volume.
    1.5.0
    Set audio mixing type.
    1.5.0
    Enable camera preview.
    1.5.0
    Disable camera preview.
    1.5.0
    Start audio recording.
    1.5.0
    Stop audio recording.
    1.5.0

    10.4 Audio

    Name
    Feature Description
    Earliest Version
    Stop audio playback.
    1.5.1
    Start audio playback.
    1.5.1
    Pause the ongoing audio playback.
    1.5.1
    Set the playback options for InnerAudioContext.
    1.5.0
    Get the currently supported audio input sources.
    1.5.1
    createInnerAudioContext
    Create an InnerAudioContext object.
    1.5.0
    AudioContext.pause
    Pause audio
    1.5.1
    AudioContext.play
    Start audio playback.
    1.5.1
    AudioContext.seek
    Redirect to the specified location.
    1.5.1
    AudioContext.setSrc
    Set the audio address.
    1.5.1
    InnerAudioContext.destroy
    Terminate current instance.
    1.5.0
    InnerAudioContext.offCanplay
    Remove the listener function for events of audio entering the playable status.
    1.5.0
    InnerAudioContext.offEnded
    Remove the listener function for events of audio naturally progressing to its conclusion.
    1.5.0
    InnerAudioContext.offError
    Remove the listener function for audio playback error events.
    1.5.0
    InnerAudioContext.offPause
    Remove the listener function for audio playback pause events.
    1.5.0
    InnerAudioContext.offPlay
    Remove the listener function for audio playback events.
    1.5.0
    InnerAudioContext.offSeeked
    Remove the listener function for events of audio completing a skip operation.
    1.5.0
    InnerAudioContext.offSeeking
    Remove the listener function for events of audio executing a skip operation.
    1.5.0
    InnerAudioContext.offStop
    Remove the listener function for audio playback stop events.
    1.5.0
    InnerAudioContext.offTimeUpdate
    Remove the listener function for events of audio playback progress update.
    1.5.0
    InnerAudioContext.offWaiting
    Remove the listener function for audio loading events.
    1.5.0
    InnerAudioContext.onCanplay
    Monitor events of audio entering the playable status.
    1.5.0
    InnerAudioContext.onEnded
    Monitor events of audio naturally playing to its conclusion.
    1.5.0
    InnerAudioContext.onError
    Monitor audio playback error events.
    1.5.0
    InnerAudioContext.onPause
    Monitor audio pausing events.
    1.5.0
    InnerAudioContext.onPlay
    Monitor audio playback events.
    1.5.0
    InnerAudioContext.onSeeked
    Monitor events of audio completing a skip operation.
    1.5.0
    InnerAudioContext.onSeeking
    Monitor events of audio executing a skip operation.
    1.5.0
    InnerAudioContext.onStop
    Monitor audio playback stop events.
    1.5.0
    InnerAudioContext.onTimeUpdate
    Monitor events of audio playback progress update.
    1.5.0
    InnerAudioContext.onWaiting
    Monitor audio loading events.
    1.5.0
    InnerAudioContext.pause
    Pause
    1.5.0
    InnerAudioContext.play
    Play
    1.5.0
    InnerAudioContext.seek
    Redirect to the specified location.
    1.5.0
    InnerAudioContext.stop
    Stop
    1.5.0

    10.5. Video

    Name
    Note
    Earliest Version
    Save the video to the system's album.
    1.5.0
    Create a VideoContext object.
    1.5.0
    Capture a video or select one from the mobile phone's album.
    1.5.0
    Video compression interface
    1.5.1
    Capture or select an image or video from the mobile phone's album.
    1.5.1
    Exit Full Screen
    1.5.0
    Exit the backend audio playback mode.
    1.5.16
    Exit the mini-window, a method that can be invoked on any page.
    1.5.16
    Hide the status bar, which is effective only in iOS full-screen mode.
    1.5.0
    Pause video
    1.5.0
    Play video
    1.5.0
    Full Screen
    1.5.0
    Enter the backend audio playback mode.
    1.5.16
    Redirect to the specified location.
    1.5.0
    Dispatch the barrage.
    1.5.0
    Display the status bar, which is effective only in iOS full-screen mode.
    1.5.0
    Stop video
    1.5.0

    10.6 Transparent Video

    Name
    Note
    Earliest Version
    Create an AnimationVideoContext object.
    1.5.0
    Play video
    1.5.0
    Pause video
    1.5.0
    Redirect to the specified location.
    1.5.0

    10.7 Camera

    Name
    Feature Description
    Earliest Version
    Create a CameraContext object.
    1.5.0
    Get real-time frame data from the Camera.
    1.5.0
    Set the scaling level.
    1.5.0
    Start video recording.
    1.5.0
    Stop video recording.
    1.5.0
    Capture a photo.
    1.5.0
    Start monitoring frame data.
    1.5.0
    Stop monitoring frame data.
    1.5.0

    10.8 Audio Recording

    Name
    Features
    Earliest Version
    Start audio recording.
    1.5.1
    Stop audio recording
    1.5.1
    Get the globally unique RecorderManager.
    1.5.0
    Monitor audio recording error events.
    1.5.0
    Monitor events where recording of files with the specified frame size has completed.
    1.5.0
    Monitor events where the audio recording is interrupted due to system occupation.
    1.5.0
    Monitor events where the audio recording interruption has ended.
    1.5.0
    Monitor audio recording pause events.
    1.5.0
    Monitor audio recording continuation events.
    1.5.0
    Monitor audio recording start events.
    1.5.0
    Monitor audio recording ending events.
    1.5.0
    Pause audio recording.
    1.5.0
    Continue audio recording.
    1.5.0
    Start audio recording.
    1.5.0
    Pause audio recording.
    1.5.0

    10.9 Background Audio

    Name
    Note
    Earliest Version
    Cease music playback.
    1.5.1
    Regulate music playback progression.
    1.5.1
    Use the background player for music playback.
    1.5.1
    Pause monitoring of music playback stop events.
    1.5.1
    Monitor music playback stop events.
    1.5.1
    Monitor music playback events.
    1.5.1
    Monitor music pause events.
    1.5.1
    Get the status of background music playback.
    1.5.1
    Get the globally unique background audio manager.
    1.5.1
    Monitor events of background audio entering the playable status.
    1.5.16
    Monitor events of background audio naturally playing to its conclusion.
    1.5.16
    Monitor background audio playback error events.
    1.5.16
    Monitor events where the user clicks the "next track" button in the system music playback panel (iOS only).
    1.5.16
    Monitor background audio pausing events.
    1.5.16
    Monitor background audio playback events.
    1.5.16
    Monitor events where the user clicks the "previous track" button in the system music playback panel (iOS only).
    1.5.16
    Monitor events of background audio completing a skip operation.
    1.5.16
    Monitor events of background audio starting a skip operation.
    1.5.16
    Monitor background audio playback stop events.
    1.5.16
    Monitor events of background audio playback progress update.
    1.5.16
    Monitor audio loading events.
    1.5.16
    Pause music playback.
    1.5.16
    Play the music.
    1.5.16
    Redirect to the specified location.
    1.5.16
    Stop music playback.
    1.5.16

    10.10 Rich Text

    Name
    Note
    Earliest Version
    EditorContext Instance
    1.5.16
    The editor loses focus, concurrently retracting the keyboard.
    1.5.16
    Empty the contents of the editor.
    1.5.16
    Alter the style.
    1.5.16
    Get the contents of the editor.
    1.5.16
    Get the plain text content within the selected area of the editor.
    1.5.16
    Insert a dividing line.
    1.5.16
    Insert image
    1.5.16
    Overwrite the current selected area, setting a segment of text.
    1.5.16
    Restore
    1.5.16
    Clear the current selected area's style.
    1.5.16
    Ensure the editor's cursor scrolls into the window's visible area.
    1.5.16
    Initialize the editor's content.
    1.5.16
    Cancel
    1.5.1

    10.11 Screen Recorder

    Name
    Note
    Earliest Version
    Create a WebGL Screen Recorder.
    1.5.16
    Terminate the Recorder.
    1.5.16
    Cancel the monitoring of recording events.
    1.5.16
    Register a callback function to monitor recording events.
    1.5.16
    Pause recording
    1.5.16
    Request the next frame for recording.
    1.5.16
    Restore recording.
    1.5.16
    Start recording.
    1.5.16
    Pause recording
    1.5.16
    

    11. File

    11.1 File Overview

    Name
    Note
    Earliest Version
    Save the file locally.
    1.5.0
    Delete local cache files.
    1.5.0
    Open the document in a new page.
    1.5.0
    Get the list of locally cached files saved under this mini program.
    1.5.0
    Get the file information of the local file.
    1.5.0
    Get the globally unique file manager.
    1.5.0
    Get file information.
    1.5.0
    File reading result
    1.5.16
    File writing result
    1.5.16

    11.2、FileSystemManager

    API
    Note
    Earliest Version
    Determine if the file/directory exists.
    1.5.0
    Synced version of FileSystemManager.access.
    1.5.0
    Append Content at the End of the File.
    1.5.0
    Synced version of FileSystemManager.appendFile.
    1.5.0
    Close the file.
    1.5.16
    Synchronously close the file.
    1.5.16
    Copy the file.
    1.5.0
    Synced version of FileSystemManager.copyFile.
    1.5.0
    Get the status information of the file.
    1.5.16
    Synchronously get the status information of the file.
    1.5.16
    Truncate the content of the file using FileSystemManager.open.
    1.5.16
    Truncate the file content.
    1.5.16
    Get information on local temporary files or local cache files under this mini program.
    1.5.0
    Get the list of locally cached files saved under this mini program.
    1.5.0
    Create a directory.
    1.5.0
    Synced version of FileSystemManager.mkdir.
    1.5.0
    Open the file and return the file descriptor.
    1.5.16
    Synchronously open the file and return the file descriptor.
    1.5.16
    Read the file.
    1.5.16
    Read the file.
    1.5.16
    Read the content of a local file with a specified compression type.
    1.5.16
    Synchronously read the content of a local file with a specified compression type.
    1.5.16
    Get the list of files within a directory.
    1.5.0
    Synced version of FileSystemManager.readdir.
    1.5.0
    Get the content of a local file.
    1.5.0
    Synced version of FileSystemManager.readFile.
    1.5.0
    Read the files within a compressed package.
    1.5.16
    Delete the locally saved cache files under this mini program.
    1.5.0
    Rename a file.
    1.5.0
    Synced version of FileSystemManager.rename.
    1.5.0
    Delete a directory.
    1.5.0
    Synced version of FileSystemManager.rmdir.
    1.5.0
    Save the temporary file locally.
    1.5.0
    Synced version of FileSystemManager.saveFile.
    1.5.0
    Get the Stats object of the file.
    1.5.0
    Synced version of FileSystemManager.stat.
    1.5.0
    Truncate the file content.
    1.5.16
    Truncate the file content (synced version of truncate).
    1.5.16
    Delete files.
    1.5.0
    Synced version of FileSystemManager.unlink.
    1.5.0
    Decompress files.
    1.5.0
    Write in files.
    1.5.16
    Synchronously write in the files.
    1.5.16
    Write files.
    1.5.0
    Synced version of FileSystemManager.writeFile.
    1.5.0

    11.3、Stats

    API
    Note
    Earliest Version
    Determines if the current file is a directory.
    1.5.0
    Determines if the current file is a common file.
    1.5.0
    

    12. Open Interfaces

    12.1. Login

    Name
    Feature Description
    Earliest Version
    Call the interface to get the login credentials (code).
    1.5.1
    Verify if the login status has expired.
    1.5.1

    12.2 Account Information

    Name
    Feature Description
    Earliest Version
    Get the current account information.
    1.5.1

    12.3 User Information

    Name
    Feature Description
    Earliest Version
    Get user information.
    1.5.1
    Get user information, which needs the user to authorize scope.userInfo.
    1.5.1
    User information
    1.5.0

    12.4. Settings

    Name
    Feature Description
    Earliest Version
    User settings authorization information
    1.5.0
    Get the current settings of the user.
    1.5.0
    Call the client-side mini program settings interface, returning the results of the user's configuration actions.
    1.5.0

    12.5 Biometric Authentication

    Name
    Feature Description
    Earliest Version
    Verifies whether biometric information has been entered into the device
    1.5.0
    Verifies whether the device supports biometric authentication
    1.5.0
    Initiates biometric authentication
    1.5.0

    12.6. Authorization

    Name
    Feature Description
    Earliest Version
    Initiate an authorization request to the user in advance.
    1.5.0
    

    13. Location

    Name
    Feature Description
    Earliest Version
    Get the current geographical location and velocity.
    1.5.0
    Open the POI list to select a location, which supports both vague positioning (accurate to the city) and precise positioning in a mixed selection.
    1.5.0
    Open the map to select a location.
    1.5.0
    Cease monitoring real-time location changes, stopping message reception in both the frontend and backend.
    1.5.0
    Enable the mini program to receive location messages when entering the frontend and backend, which requires guiding the user to give "authorization".
    1.5.0
    Enable the mini program to receive location messages upon entering the frontend.
    1.5.0
    Use the built-in We Chat map to view the location.
    1.5.0
    Triggered when the continuous positioning interface being monitored fails to return a response.
    1.5.0
    Monitor real-time geographical location change events, necessitating the combined use of startLocationUpdateBackground and startLocationUpdate.
    1.5.0
    Triggered when a failure message is returned in removing the continuous positioning interface.
    1.5.0
    Stop monitoring real-time geographical location change events.
    1.5.0
    Get the current approximate geographical location.
    1.5.0
    

    14. Device

    14.1 General Bluetooth

    Name
    Feature Description
    Earliest Version
    Cease the search for nearby peripheral Bluetooth devices.
    1.5.0
    Start the search for nearby peripheral Bluetooth devices.
    1.5.0
    Initialize the Bluetooth module.
    1.5.1
    Get connected Bluetooth devices based on the primary service UUID.
    1.5.1
    Get all Bluetooth devices detected during the effective period of the Bluetooth module.
    1.5.1
    Get the status of the local Bluetooth adapter.
    1.5.1
    Deactivate the Bluetooth module.
    1.5.1
    Monitor events of finding new devices.
    1.5.0
    Remove all listener functions for events of finding new devices.
    1.5.0
    Monitor events of Bluetooth adapter status changes.
    1.5.0
    Remove all listener functions for events of the Bluetooth adapter status changes.
    1.5.0
    Bluetooth pairing interface, supported exclusively on Android.
    1.5.0
    Inquire if the Bluetooth device is paired, supported exclusively on Android.
    1.5.0

    14.2. Bluetooth - Low Energy Central Device

    Name
    Feature Description
    Earliest Version
    Write binary data into the characteristic value of low-energy Bluetooth devices.
    1.5.1
    Read the binary data of the characteristic value from low-energy Bluetooth devices.
    1.5.1
    Negotiate the setting of the maximum unit for low-energy Bluetooth transmission.
    1.5.1
    Get the maximum unit for low-energy Bluetooth transmission.
    1.5.1
    Monitor events of maximum unit changes for low-energy Bluetooth transmission (triggered on Android only).
    1.5.1
    Remove the listener function for events of maximum unit changes for low-energy Bluetooth transmission.
    1.5.1
    Monitor events of changes to low-energy Bluetooth connection status.
    1.5.1
    Remove the listener function for events of changes to low-energy Bluetooth connection status.
    1.5.1
    Monitor events of characteristic value changes for low-energy Bluetooth devices.
    1.5.1
    Remove all listener functions for events of characteristic value changes for low-energy Bluetooth devices.
    1.5.1
    Enable the "notify" feature when the characteristic value of low-energy Bluetooth device changes, subscribing to the characteristics.
    1.5.1
    Get all services from low-energy Bluetooth devices.
    1.5.1
    Get the signal strength of low-energy Bluetooth devices.
    1.5.1
    Get all characteristics within a specific service of low-energy Bluetooth devices.
    1.5.1
    Establish connection with a low-energy Bluetooth device.
    1.5.1
    Disconnect with the low-energy Bluetooth device.
    1.5.1

    14.3 Bluetooth - Low Energy Peripheral Device

    Name
    Feature Description
    Earliest Version
    Monitor the current peripheral device for connection or disconnection events.
    1.5.1
    Remove the listener function for the connection or disconnection events of the current peripheral device.
    1.5.1
    Establish a local server as a low-energy Bluetooth peripheral device.
    1.5.1
    Add service
    1.5.1
    Remove service
    1.5.1
    Initiate broadcasting of locally created peripheral devices.
    1.5.1
    Stop broadcasting
    1.5.1
    Write binary data values into the specified characteristic and notify the connected host.
    1.5.1
    Monitor events where the connected device requests to write the characteristic value of the current peripheral device.
    1.5.1
    Remove the listener function for events associated with characteristic value changes of the currently connected peripheral device.
    1.5.1
    Monitor events where the connected device requests to read the characteristic value of the current peripheral device.
    1.5.1
    Remove the listener function for events where the connected device requests to read the characteristic value of the current peripheral device.
    1.5.1
    Monitor characteristic subscription events, supported exclusively on iOS.
    1.5.1
    Remove the listener function for characteristic subscription events.
    1.5.1
    Monitor characteristic unsubscription events, supported exclusively on iOS.
    1.5.1
    Remove the listener function for characteristic unsubscription events.
    1.5.1

    14.4 Bluetooth - Beacon

    Name
    Feature Description
    Earliest Version
    Stop the search for nearby Beacon devices.
    1.5.1
    Start the search for nearby Beacon devices.
    1.5.1
    Monitor Beacon device update events, with only one listener registration permissible.
    1.5.1
    Remove all listener functions for Beacon device update events.
    1.5.1
    Monitor events of Beacon service status changes, with only one listener registration permissible.
    1.5.1
    Remove all listener functions for events of Beacon service status changes.
    1.5.1
    Get all Beacon devices that have been detected.
    1.5.1
    Beacon devices
    1.5.1

    14.5、NFC

    14.5.1、getNFCAdapter

    Name
    Feature Description
    Earliest Version
    Get the NFC instance.
    1.5.0

    14.5.2、NFCAdapter

    Name
    Feature Description
    Earliest Version
    Turn on the device.
    1.5.0
    Turn off the device.
    1.5.0
    Get the Ndef instance, which supports reading and writing NDEF data on NFC tags in NDEF format.
    1.5.0
    Get the NfcA instance, which supports reading and writing in accordance with the NFC-A (ISO 14443-3A) standard.
    1.5.0
    Get the NfcB instance, which supports reading and writing in accordance with the NFC-B (ISO 14443-3B) standard.
    1.5.0
    Get the NfcF instance, which supports reading and writing in accordance with the NFC-F (JIS 6319-4) standard.
    1.5.0
    Get the NfcV instance, which supports reading and writing in accordance with the NFC-V (ISO 15693) standard.
    1.5.0
    Get the IsoDep instance, which supports reading and writing in accordance with the ISO-DEP (ISO 14443-4) standard.
    1.5.0
    Get the MifareClassic instance, which supports reading and writing of MIFARE Classic tags.
    1.5.0
    Get the MifareUltralight instance, which supports reading and writing of MIFARE Ultralight tags.
    1.5.0
    Monitor NFC Tags.
    1.5.0
    Remove the listener function of NFC Tags.
    1.5.0

    14.5.3、IsoDep

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0
    Get reset information.
    1.5.0

    14.5.4、MifareClassic

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0

    14.5.5、MifareUltralifght

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0

    14.5.6、Ndef

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Stop monitoring of Ndef messages.
    1.5.0
    Monitor Ndef messages.
    1.5.0
    Re-write the content of the Ndef tag.
    1.5.0

    14.5.7、NfcA

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0
    Get ATQA information.
    1.5.0
    Get SAK information.
    1.5.0

    14.5.8、NfcB

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0

    14.5.9、NfcF

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0

    14.5.10、NfcV

    Name
    Feature Description
    Earliest Version
    Connect with NFC tags.
    1.5.0
    Disconnect
    1.5.0
    Set a timeout period.
    1.5.0
    Verify whether the connection has been established.
    1.5.0
    Determine the maximum transmission length.
    1.5.0
    Transmit data,
    1.5.0

    14.6、WiFi

    Name
    Feature Description
    Earliest Version
    Monitor events of establishing Wi-Fi connection.
    1.5.1
    Remove the listener function for events of establishing Wi-Fi connection.
    1.5.1
    Disable the Wi-Fi module.
    1.5.0
    Initialize the Wi-Fi module.
    1.5.0
    Monitor events of receiving Wi-Fi list data.
    1.5.0
    Remove the listener function for events of receiving Wi-Fi list data.
    1.5.0
    Get information about the currently connected Wi-Fi.
    1.5.0
    Wi-Fi Information
    1.5.1

    14.7. Calendar

    Name
    Feature Description
    Earliest Version
    Add recurring events to the system calendar.
    1.5.1
    Add events to the system calendar.
    1.5.1

    14.8 Clipboard

    Name
    Feature Description
    Earliest Version
    Set the content of the system clipboard.
    1.5.1
    Get the content of the system clipboard.
    1.5.1

    14.9. Network

    Name
    Feature Description
    Earliest Version
    Monitor network status change events.
    1.5.1
    Get network type information.
    1.5.1
    Remove the listener function for network status change events.
    1.5.1

    14.10 Encryption

    Name
    Feature Description
    Earliest Version
    Gets cryptographically secure random numbers
    1.5.1

    14.11 Keyboard

    Name
    Feature Description
    Earliest Version
    Monitor keyboard height change events.
    1.5.1
    After the keyboard is triggered by focusing on input, textarea, etc., manually invoke this interface to retract the keyboard.
    1.5.1
    Remove the listener function for keyboard height change events.
    1.5.1
    After focusing on input, textarea, etc., get the cursor position in the input box.
    1.5.1

    14.12 Phone Call

    Name
    Feature Description
    Earliest Version
    Make a phone call.
    1.5.1

    14.13 Accelerometer

    Name
    Feature Description
    Earliest Version
    Begin monitoring acceleration data.
    1.5.1
    Stop monitoring acceleration data.
    1.5.1
    Monitor acceleration data events.
    1.5.1
    Remove the listener function for acceleration data events.
    1.5.1

    14.14 Compass

    Name
    Feature Description
    Earliest Version
    Begin monitoring compass data.
    1.5.0
    Stop monitoring compass data.
    1.5.0
    Monitor compass data change events.
    1.5.0
    Remove the listener function for compass data change events.
    1.5.0

    14.15 Gyroscope

    Name
    Feature Description
    Earliest Version
    Start monitoring gyroscope data.
    1.5.1
    Stop monitoring gyroscope data.
    1.5.1
    Monitor gyroscope data change events.
    1.5.1
    Remove the listener function for gyroscope data change events.
    1.5.1

    14.16 Scanning Code

    Name
    Feature Description
    Earliest Version
    Invoke the client's scanning interface for code scanning.
    1.5.0

    14.17 SMS

    Name
    Feature Description
    Earliest Version
    Initiate the mobile SMS sending interface.
    1.5.1

    14.18 Vibration

    Name
    Feature Description
    Earliest Version
    Induce a brief vibration in the mobile phone (15 ms).
    1.5.1
    Induce an extended vibration in the mobile phone (400 ms).
    1.5.1

    14.19 Contact

    Name
    Feature Description
    Earliest Version
    Initiate the phone's contact list and select a contact.
    1.5.1
    Add a contact to the mobile phone directory.
    1.5.1

    14.20 Battery Level

    Name
    Feature Description
    Earliest Version
    Synced version of wx.getBatteryInfo.
    1.5.1
    Get the device's battery level information.
    1.5.1

    14.21 Screen

    Name
    Feature Description
    Earliest Version
    Configure screen performance during screenshot/screen recording.
    1.5.1
    Adjust the screen brightness.
    1.5.1
    Set whether to maintain a constant brightness.
    1.5.1
    Monitor user-initiated screenshot events.
    1.5.1
    Monitor user-initiated screen recording events.
    1.5.1
    User-initiated screenshot events.
    1.5.1
    Remove the listener function for user-initiated screen recording events.
    1.5.1
    Inquire if the user is currently recording the screen.
    1.5.1
    Get the screen brightness information.
    1.5.1

    14.22. Device Orientation

    Name
    Feature Description
    Earliest Version
    Stop monitoring changes in device orientation.
    1.5.1
    Start monitoring changes in device orientation.
    1.5.1
    Monitor device orientation change events.
    1.5.1
    Remove the listener function for device orientation change events.
    1.5.1

    14.23 Memory

    Name
    Feature Description
    Earliest Version
    Monitor insufficient memory alarm events.
    1.5.1
    Remove the listener function for insufficient memory alarm events.
    1.5.1

    14.24 Accessibility

    Name
    Feature Description
    Earliest Version
    Detect whether the visual accessibility feature is enabled.
    1.5.1
    

    15、WXML

    15.1 WXML Overview

    Name
    Feature Description
    Earliest Version
    Return an instance of the SelectorQuery object.
    1.5.0
    Create and return an instance of the IntersectionObserver object.
    1.5.0

    15.2、IntersectionObserve

    Name
    Feature Description
    Earliest Version
    Use a selector to designate a node as one of the reference areas.
    1.5.0
    Designate the page display area as one of the reference areas.
    1.5.0
    Stop monitoring and the callback function will no longer be triggered.
    1.5.0
    Designate the target node and start monitoring changes in intersection status.
    1.5.0

    15.3、NodesRef

    Name
    Feature Description
    Earliest Version
    Get pertinent information related to the node.
    1.5.0
    Add a query request for the layout position of the node.
    1.5.0
    Add a query request for the scrolling position of the node.
    1.5.0
    Add a query request for the Context object of the node.
    1.5.0
    Get the Node instance.
    1.5.0

    15.4、SelectorQuery

    Name
    Feature Description
    Earliest Version
    Execute all the requests.
    1.5.0
    Change the selection range of the selector to be within the custom component.
    1.5.0
    Select the first node that matches the selector within the current page.
    1.5.0
    Select all nodes that match the selector within the current page.
    1.5.0
    Select the display area.
    1.5.0

    15.5、meidaQueryObserver

    Name
    Feature Description
    Earliest Version
    Stop monitoring.
    1.5.16
    Start monitoring media query changes.
    1.5.16
    

    16. Custom APIs

    Name
    Feature Description
    Earliest Version
    Custom APIs
    1.5.0
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support