Class AndroidConnectivityService

java.lang.Object
com.gluonhq.attach.connectivity.impl.AndroidConnectivityService
All Implemented Interfaces:
ConnectivityService

public class AndroidConnectivityService extends Object implements ConnectivityService
Note: Requires this permission: <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ReadOnlyBooleanProperty
    A read-only property indicating whether there is data connectivity available or not.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.ReadOnlyBooleanProperty
    A read-only property indicating whether there is data connectivity available or not.
    boolean
    Gets the value of the connected property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

  • Constructor Details

    • AndroidConnectivityService

      public AndroidConnectivityService()
  • Method Details

    • connectedProperty

      public javafx.beans.property.ReadOnlyBooleanProperty connectedProperty()
      Description copied from interface: ConnectivityService
      A read-only property indicating whether there is data connectivity available or not.
      Specified by:
      connectedProperty in interface ConnectivityService
      Returns:
      the connected property
      See Also:
    • isConnected

      public boolean isConnected()
      Gets the value of the connected property.
      Specified by:
      isConnected in interface ConnectivityService
      Property description:
      Returns:
      the value of the connected property
      See Also: