Version: 1.3
LanguageEnglish
  • C#

OpenHarmonyJSObject

class in UnityEngine

/

Inherits from:OpenHarmonyJSBase

/

Implemented in: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

OpenHarmonyJSObject is the Unity representation of a generic instance of a JavaScript object.

Constructors

OpenHarmonyJSObjectConstuct a OpenHarmonyJSObject.

Public Methods

AsConvert this object to C# value.
CallCall member function of this object.
GetGet C# value of member of this object.
SetSet C# value of member of this object.

Inherited Members

Public Methods

DisposeUse to dispose a OpenHarmonyJSBase object.
GetNapiRefGet napi reference of a JavaScript class or object.
GetNapiValueGet napi value of a JavaScript class or object.
ToStringConvert the napi value to string.

Protected Methods

CallImplCall JavaScript function.
GetImplGet value of specified field.
SetImplSet value of specified field.