Platform SDK Java 9.0 API Reference

Package com.genesyslab.platform.voice.protocol.previewinteraction

This package contains the PreviewInteraction classes that your applications can use during communication with T-Server, such as PreviewInteractionAcknowledge.

To use these classes, you will need to set up an appropriate factory object, as shown here:


Message msg = new Message();

...

// marshal using old kvbinding
PreviewInteractionFactory factory = new PreviewInteractionFactory(new PreviewInteractionResolver());
KeyValueCollection kv = factory.Marshal(msg);

// marshal using new kvbinding
KeyValueCollection kv2 = PreviewInteractionBinding.marshal(msg);

...

// unmarshal using old kvbinding
msg = (Message)factory.Unmarshal(kv);

// unmarshal using new kvbinding
msg = (Message)PreviewInteractionBinding.unmarshal(kv);



For general information on the structure and usage of the Platform SDKs, or information on TLib functions, datatypes and unstructured data, please refer to the Platform SDK Developer's Guide.

Skip navigation links
Platform SDK Java 9.0 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.