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

com.azure.communication.callautomation.models.TextFormat Maven / Gradle / Ivy

Go to download

This package contains clients and data structures used to make call with Azure Communication Call Automation Service. For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-callautomation/CHANGELOG.md.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.callautomation.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Specifies the text format of transcription.
 */
public final class TextFormat extends ExpandableStringEnum {
    /**
     * Display.
     */
    public static final TextFormat DISPLAY = fromString("Display");

    /**
     * Creates a new instance of TextFormat value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public TextFormat() {
    }

    /**
     * Creates or finds a TextFormat from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding TextFormat.
     */
    public static TextFormat fromString(String name) {
        return fromString(name, TextFormat.class);
    }

    /**
     * Gets known TextFormat values.
     * 
     * @return known TextFormat values.
     */
    public static Collection values() {
        return values(TextFormat.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy