-
Notifications
You must be signed in to change notification settings - Fork 250
/
com.microsoft.cognitiveservices.speech.util.SafeHandle.yml
84 lines (84 loc) · 5.34 KB
/
com.microsoft.cognitiveservices.speech.util.SafeHandle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle"
name: "SafeHandle"
nameWithType: "SafeHandle"
summary: "Internal Safe<wbr>Handle class Note: close() must be called in order to release underlying resources held by the object."
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 class **SafeHandle**</br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle.SafeHandle(long,com.microsoft.cognitiveservices.speech.util.SafeHandleType)"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle.SafeHandle(long val, SafeHandleType type)"
name: "SafeHandle(long val, SafeHandleType type)"
nameWithType: "SafeHandle.SafeHandle(long val, SafeHandleType type)"
summary: "A safe handle that implements Auto<wbr>Closeable"
parameters:
- description: "The value."
name: "val"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- description: "the type"
name: "type"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandleType?alt=com.microsoft.cognitiveservices.speech.util.SafeHandleType&text=SafeHandleType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SafeHandle(long val, SafeHandleType type)"
desc: "A safe handle that implements AutoCloseable"
methods:
- uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle.close()"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle.close()"
name: "close()"
nameWithType: "SafeHandle.close()"
summary: "Dispose of associated resources."
syntax: "public void close()"
desc: "Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object."
- uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle.finalize()"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle.finalize()"
name: "finalize()"
nameWithType: "SafeHandle.finalize()"
modifiers:
- "protected"
overridden: "java.lang.Object.finalize()"
syntax: "protected void finalize()"
exceptions:
- type: "<xref href=\"java.lang.Throwable?alt=java.lang.Throwable&text=Throwable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle.getValue()"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle.getValue()"
name: "getValue()"
nameWithType: "SafeHandle.getValue()"
summary: "Gets the long value"
syntax: "public long getValue()"
desc: "Gets the long value"
returns:
description: "long value"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.SafeHandle.setValue(long)"
fullName: "com.microsoft.cognitiveservices.speech.util.SafeHandle.setValue(long newValue)"
name: "setValue(long newValue)"
nameWithType: "SafeHandle.setValue(long newValue)"
summary: "Sets the long value"
parameters:
- description: "Long value to set."
name: "newValue"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setValue(long newValue)"
desc: "Sets the long value"
type: "class"
desc: "Internal SafeHandle class Note: close() must be called in order to release underlying resources held by the object."
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech.util"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0