All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opentok.ArchiveMode Maven / Gradle / Ivy

Go to download

The OpenTok Java SDK lets you generate sessions and tokens for OpenTok applications. This version of the SDK also includes support for working with OpenTok 2.0 archives.

There is a newer version: 4.15.0
Show newest version
/**
 * OpenTok Java SDK
 * Copyright (C) 2017 TokBox, Inc.
 * http://www.tokbox.com
 *
 * Licensed under The MIT License (MIT). See LICENSE file for more information.
 */
package com.opentok;

/**
 * Defines values for the archiveMode parameter of the
 * {@link SessionProperties.Builder#archiveMode(ArchiveMode archiveMode)} method.
 */
public enum ArchiveMode {

    /**
     * The session is not archived automatically. To archive the session, you can call the
     * OpenTok.StartArchive() method.
     */
    MANUAL ("manual"),

    /**
     * The session is archived automatically (as soon as there are clients publishing streams
     * to the session).
     */
    ALWAYS ("always");

    private String serialized;

    private ArchiveMode(String s) {
        serialized = s;
    }

    @Override
    public String toString() {
        return serialized;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy