azure-docs-sdk-java/docs-ref-autogen/com.microsoft.cognitiveserv...

129 строки
8.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI"
name: "JsonBuilderJNI"
nameWithType: "JsonBuilderJNI"
summary: "The type Json builder jni."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **JsonBuilderJNI**"
constructors:
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.JsonBuilderJNI()"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.JsonBuilderJNI()"
name: "JsonBuilderJNI()"
nameWithType: "JsonBuilderJNI.JsonBuilderJNI()"
syntax: "public JsonBuilderJNI()"
methods:
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.addItem(com.microsoft.cognitiveservices.speech.util.SafeHandle,int,int,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.addItem(SafeHandle builderHandle, int item, int index, String find)"
name: "addItem(SafeHandle builderHandle, int item, int index, String find)"
nameWithType: "JsonBuilderJNI.addItem(SafeHandle builderHandle, int item, int index, String find)"
summary: "Adds an item to the specified ajv item"
modifiers:
- "static"
parameters:
- description: "the parser handle"
name: "builderHandle"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- description: "the specified ajv item to add to"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the index to add the new item at"
name: "index"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the json key to associate with the new item"
name: "find"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static int addItem(SafeHandle builderHandle, int item, int index, String find)"
desc: "Adds an item to the specified ajv item"
returns:
description: "the ajv item added"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.asJsonCopy(com.microsoft.cognitiveservices.speech.util.SafeHandle,int)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.asJsonCopy(SafeHandle builder, int item)"
name: "asJsonCopy(SafeHandle builder, int item)"
nameWithType: "JsonBuilderJNI.asJsonCopy(SafeHandle builder, int item)"
summary: "As json string."
modifiers:
- "static"
parameters:
- description: "the builder"
name: "builder"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- description: "the item"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static String asJsonCopy(SafeHandle builder, int item)"
desc: "As json string."
returns:
description: "the string"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.createBuilder()"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.createBuilder()"
name: "createBuilder()"
nameWithType: "JsonBuilderJNI.createBuilder()"
summary: "Create builder json value."
modifiers:
- "static"
syntax: "public static JsonBuilder createBuilder()"
desc: "Create builder json value."
returns:
description: "the JsonBuilder object"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.JsonBuilder?alt=com.microsoft.cognitiveservices.speech.util.JsonBuilder&text=JsonBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.setItem(com.microsoft.cognitiveservices.speech.util.SafeHandle,int,java.lang.String,com.microsoft.cognitiveservices.speech.util.JsonValueJNI.ValueKind,java.lang.String,boolean,int,double)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilderJNI.setItem(SafeHandle builderHandle, int item, String json, JsonValueJNI.ValueKind kind, String str, boolean boolValue, int integer, double number)"
name: "setItem(SafeHandle builderHandle, int item, String json, JsonValueJNI.ValueKind kind, String str, boolean boolValue, int integer, double number)"
nameWithType: "JsonBuilderJNI.setItem(SafeHandle builderHandle, int item, String json, JsonValueJNI.ValueKind kind, String str, boolean boolValue, int integer, double number)"
summary: "Adds an item to the specified ajv item"
modifiers:
- "static"
parameters:
- description: "the parser handle"
name: "builderHandle"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- description: "the specified ajv item to add to"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the json string to be used if kind = JSON"
name: "json"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the kind of value being added"
name: "kind"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.JsonValueJNI.ValueKind?alt=com.microsoft.cognitiveservices.speech.util.JsonValueJNI.ValueKind&text=ValueKind\" data-throw-if-not-resolved=\"False\" />"
- description: "the string value to be used if kind = STRING"
name: "str"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the boolean value to be used if kind = BOOLEAN"
name: "boolValue"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "the integer value to be used if kind = NUMBER"
name: "integer"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the doubl value to be used if kind = NUMBER"
name: "number"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static int setItem(SafeHandle builderHandle, int item, String json, JsonValueJNI.ValueKind kind, String str, boolean boolValue, int integer, double number)"
desc: "Adds an item to the specified ajv item"
returns:
description: "An HR result indicating error or success"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The type Json builder jni."
metadata: {}
package: "com.microsoft.cognitiveservices.speech.util"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0