Lines Matching refs:GetDefaultNet
61 static napi_value GetDefaultNet(napi_env env, napi_callback_info info)
96 …ormation about the default network connection of the system. Wherein, GetDefaultNet is used to rec…
105 …ed to describe an exported attribute. Two properties are defined here: `GetDefaultNet` and `NetId`.
107 {"GetDefaultNet", nullptr, GetDefaultNet, nullptr, nullptr, nullptr, napi_default, nullptr},
136 - The `GetDefaultNet ` function accepts the numeric parameter code and returns a numeric value.
140 export const GetDefaultNet: (code: number) => number;
160 Button('GetDefaultNet').onClick(event => {
161 this.GetDefaultNet();
172 GetDefaultNet() {
179 let codeNumber = testNetManager.GetDefaultNet(testParam);
208 - If you click `GetDefaultNet`, you'll obtain the default network ID.
213 3. Click `GetDefaultNet`. The following log is displayed, as shown below: