Interface IEdsClientSdk

    • Method Detail

      • discoverEdgeServices

        IAsyncOpHandle discoverEdgeServices​(@NonNull
                                            android.content.Context context,
                                            @NonNull
                                            IEdgeDiscoveryCallback callback,
                                            @NonNull
                                            java.lang.String svcEndpointsId,
                                            @Nullable
                                            android.net.Network targetNetwork,
                                            @Nullable
                                            IEdsSdkOptions options)
        Perform Edge Service discovery using default targeting criteria (device IP for default data SIM) and operation options defaults from the SDK. This is an asynchronous operation, with callbacks guaranteed to the supplied callback handler.
        Parameters:
        context - context
        callback - operation callback
        svcEndpointsId - MEC service endpoints ID
        targetNetwork - cellular network used to obtain UE Identity. Likely also network used to communicate with with edge service endpoint. If default INTERNET network is used.
        options - SDK operation options. If NULL SDK default options will be used.
        Returns:
        operation handle for cancel
      • discoverEdgeServices

        IAsyncOpHandle discoverEdgeServices​(@NonNull
                                            android.content.Context context,
                                            @NonNull
                                            IEdgeDiscoveryCallback callback,
                                            @NonNull
                                            EdgeSvcsTargetingCriteria svcTargetCriteria,
                                            @Nullable
                                            IEdsSdkOptions operationOptions)
        Perform Edge Service discovery using supplied targeting criteria. This is an asynchronous operation with callbacks guaranteed to the supplied callback handler.
        Parameters:
        context - context
        callback - callback handler
        svcTargetCriteria - edge service targeting criteria
        operationOptions - operation options. If null SDK default options will be used..
        Returns:
        operation handle for cancel
      • setAuthenticator

        void setAuthenticator​(@NonNull
                              MecAuthenticator authenticator)
        Replace current Authenticator with new instance, to be used on all operations going forward. Note: MEC authenticator is a 'live' op
        Parameters:
        authenticator - MEC authenticator.
      • clearCache

        void clearCache()
        Clear SDK operation data cache, ensuring MEC server sync on next discovery operation.