Lines Matching refs:GetDefaultNet
62 static napi_value GetDefaultNet(napi_env env, napi_callback_info info)
97 …ormation about the default network connection of the system. Wherein, GetDefaultNet is used to rec…
106 …ed to describe an exported attribute. Two properties are defined here: `GetDefaultNet` and `NetId`.
108 {"GetDefaultNet", nullptr, GetDefaultNet, nullptr, nullptr, nullptr, napi_default, nullptr},
137 - The `GetDefaultNet` function accepts the numeric parameter `code` and returns a numeric value.
141 export const GetDefaultNet: (code: number) => number;
161 Button('GetDefaultNet').onClick(event => {
162 this.GetDefaultNet();
173 GetDefaultNet() {
180 let codeNumber = testNetManager.GetDefaultNet(testParam);
209 - If you click `GetDefaultNet`, you'll obtain the default network ID.
214 3. Click `GetDefaultNet`. The following log is displayed, as shown below: