• Client api for HMS connectors.

    Parameters

    • instanceName: string

      connector instance name

    Returns HMSClient

    Example


    import * as hms from 'hms';

    let client = hms.newClient("instanceName");
    let deviceTokens = ["**********123", "*********123"];
    let resp = client.pushMessage(deviceTokens, payload, expireTime);