Home
last modified time | relevance | path

Searched refs:advertisingStateObj (Results 1 - 1 of 1) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp1080 napi_value advertisingStateObj = nullptr; in PropertyInit() local
1081 napi_create_object(env, &advertisingStateObj); in PropertyInit()
1082 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STARTED), "STARTED"); in PropertyInit()
1083 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::ENABLED), "ENABLED"); in PropertyInit()
1084 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::DISABLED), "DISABLED"); in PropertyInit()
1085 SetNamedPropertyByInteger(env, advertisingStateObj, static_cast<int32_t>(AdvertisingState::STOPPED), "STOPPED"); in PropertyInit()
1095 DECLARE_NAPI_PROPERTY("AdvertisingState", advertisingStateObj), in PropertyInit()

Completed in 3 milliseconds