未验证 提交 7270d973 编写于 作者: O openharmony_ci 提交者: Gitee

!22282 [翻译完成】#I7M7HH

Merge pull request !22282 from Annie_wang/PR20990
...@@ -21,7 +21,6 @@ None. ...@@ -21,7 +21,6 @@ None.
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
| Name| Type| Readable| Writable| Description| | Name| Type| Readable| Writable| Description|
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
...@@ -36,8 +35,6 @@ Called when a DriverExtensionAbility is created to initialize the service logic. ...@@ -36,8 +35,6 @@ Called when a DriverExtensionAbility is created to initialize the service logic.
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
**Parameters** **Parameters**
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
...@@ -63,8 +60,6 @@ Called when this DriverExtensionAbility is destroyed to clear resources. ...@@ -63,8 +60,6 @@ Called when this DriverExtensionAbility is destroyed to clear resources.
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
**Example** **Example**
```ts ```ts
...@@ -84,8 +79,6 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call ...@@ -84,8 +79,6 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
**Parameters** **Parameters**
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
...@@ -106,7 +99,7 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call ...@@ -106,7 +99,7 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call
constructor(des) { constructor(des) {
super(des); super(des);
} }
onRemoteRequest(code, data, reply, option) { onRemoteMessageRequest(code, data, reply, option) {
} }
} }
class DriverExt extends DriverExtension { class DriverExt extends DriverExtension {
...@@ -125,7 +118,7 @@ class StubTest extends rpc.RemoteObject{ ...@@ -125,7 +118,7 @@ class StubTest extends rpc.RemoteObject{
constructor(des) { constructor(des) {
super(des); super(des);
} }
onRemoteRequest(code, data, reply, option) { onRemoteMessageRequest(code, data, reply, option) {
} }
} }
async function getDescriptor() { async function getDescriptor() {
...@@ -149,8 +142,6 @@ Called when a client is disconnected from this DriverExtensionAbility. ...@@ -149,8 +142,6 @@ Called when a client is disconnected from this DriverExtensionAbility.
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
**Parameters** **Parameters**
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
...@@ -187,8 +178,6 @@ Dumps client information. ...@@ -187,8 +178,6 @@ Dumps client information.
**System capability**: SystemCapability.Driver.ExternalDevice **System capability**: SystemCapability.Driver.ExternalDevice
**System API**: This is a system API and cannot be called by third-party applications.
**Parameters** **Parameters**
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册