Himanshu
Himanshu

Reputation: 825

Network change event in Oracle MAF?

How can I detect network change event in Oracle MAF for that if I want to set/reset a variable value as network state changes?

Note: I know that how can we detect network change event using Cordova with settimeout() and I don't want to use settimeout().

Upvotes: 1

Views: 74

Answers (1)

Frank Nimphius-Oracle
Frank Nimphius-Oracle

Reputation: 711

Simply for displaying the information it should be enough to bind a UI component to the device data control. For actively doing something you would need to do it manually using the DeviceManagerFactory --> DeviceManager and then use a thread to poll the information

Frank

Upvotes: 0

Related Questions