init(accessToken, Service)
いずれかの Desktop
モジュールを使用開始するための構成モジュールを開始します。
connectedCallback() {
super.connectedCallback();
this.init(); // Initialization the congiguration without any parameters optional parameters are { accessToken: ACCESS_TOKEN, SERVICE: SERVICE }
}
async init() {
await Desktop.config.init()
}
ウィジェットスターターの例の詳細については、Cisco Webex Contact Center Widget Starter を参照してください。
パラメータ
名前 |
タイプ |
説明 |
必須 |
---|---|---|---|
accessToken |
文字列 |
クライアントには、デフォルトで暗号化されている、ユーザ ID 情報を含むアクセストークンが発行されます。これにより、保護されたリソースにアクセスできます。 |
オプション |
サービス |
文字列 |
ローカリゼーション、アクション、ロガーなど、Desktop モジュールが提供するサービス。 |
オプション |