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 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, E55131-03
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.