Class: MessagingPackage

wsc. MessagingPackage

A package that enables messaging applications.

new MessagingPackage(session, packageType)

Parameters:
Name Type Description
session Object

an instance of session object

packageType String

The name of package. If not provided, default value is 'messaging'.

Methods

createMessaging() → {Messaging}

Creates an instance of a Messaging object and also registers it with the package.

Returns:

an instance of Messaging object.

Type
Messaging

register(messaging)

Registers an instance of Messaging object with the package. This should be used only when an extension is created for Messaging/MessagingPackage.

Parameters:
Name Type Description
messaging Messaging

an instance of Messaging object

Oracle® Communications WebRTC Session Controller Javascript API Reference 7.2.0.1.1, E69512-02
Copyright © 2013, 2017, Oracle and/or its affiliates. All rights reserved.