Version: 1.3
LanguageEnglish
  • C#

UnityEngine.OpenHarmonyJSModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

OpenHarmony module allows you to call JavaScript code.

Classes

OpenHarmonyJSAPIAPIs that enable user to call OpenHarmony JavaScript from Unity scripting (C#).
OpenHarmonyJSArrayBufferOpenHarmonyJSArrayBuffer is the Unity representation of a generic instance of a JavaScript array buffer.
OpenHarmonyJSBaseOpenHarmonyJSBase is the parent of OpenHarmonyJSClass and OpenHarmonyJSObject.
OpenHarmonyJSCallbackOpenHarmonyJSCalback is the Unity representation of a JavaScript Function.
OpenHarmonyJSClassOpenHarmonyJSCalss is the Unity representation of a generic instance of a JavaScript class.
OpenHarmonyJSHelperOpenHarmonyJSHelper helps to convert type between JavaScript and C#.
OpenHarmonyJSObjectOpenHarmonyJSObject is the Unity representation of a generic instance of a JavaScript object.
PermissionCallbacksContains callbacks invoked when permission request is executed using Permission.RequestUserPermission.

Structs

PermissionStructure describing a permission that requires user authorization.