Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Functions

newClient

  • Client api for HMS connectors.

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

    Parameters

    • instanceName: string

      connector instance name

    Returns HMSClient