diff --git a/en/application-dev/reference/apis/js-apis-app-ability-driverExtensionAbility.md b/en/application-dev/reference/apis/js-apis-app-ability-driverExtensionAbility.md index 769c14e71f4fc11339c36aa848a60d1a719a9624..b403e44db08e3c8367b95174b27d6ff7e12f0a06 100644 --- a/en/application-dev/reference/apis/js-apis-app-ability-driverExtensionAbility.md +++ b/en/application-dev/reference/apis/js-apis-app-ability-driverExtensionAbility.md @@ -21,7 +21,6 @@ None. **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| | -------- | -------- | -------- | -------- | -------- | @@ -36,8 +35,6 @@ Called when a DriverExtensionAbility is created to initialize the service logic. **System capability**: SystemCapability.Driver.ExternalDevice -**System API**: This is a system API and cannot be called by third-party applications. - **Parameters** | Name| Type| Mandatory| Description| @@ -63,8 +60,6 @@ Called when this DriverExtensionAbility is destroyed to clear resources. **System capability**: SystemCapability.Driver.ExternalDevice -**System API**: This is a system API and cannot be called by third-party applications. - **Example** ```ts @@ -84,8 +79,6 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call **System capability**: SystemCapability.Driver.ExternalDevice -**System API**: This is a system API and cannot be called by third-party applications. - **Parameters** | Name| Type| Mandatory| Description| @@ -106,7 +99,7 @@ Called following **onCreate()** when a DriverExtensionAbility is started by call constructor(des) { super(des); } - onRemoteRequest(code, data, reply, option) { + onRemoteMessageRequest(code, data, reply, option) { } } class DriverExt extends DriverExtension { @@ -125,7 +118,7 @@ class StubTest extends rpc.RemoteObject{ constructor(des) { super(des); } - onRemoteRequest(code, data, reply, option) { + onRemoteMessageRequest(code, data, reply, option) { } } async function getDescriptor() { @@ -149,8 +142,6 @@ Called when a client is disconnected from this DriverExtensionAbility. **System capability**: SystemCapability.Driver.ExternalDevice -**System API**: This is a system API and cannot be called by third-party applications. - **Parameters** | Name| Type| Mandatory| Description| @@ -187,8 +178,6 @@ Dumps client information. **System capability**: SystemCapability.Driver.ExternalDevice -**System API**: This is a system API and cannot be called by third-party applications. - **Parameters** | Name| Type| Mandatory| Description|