![]() Set an oauth gateway to use for directory server requests. SetDirectoryGatewayURI String gatewayUri) Sets if ESNI is used when talking to the directory domain If using your own directory server, this must be called before login or loginAutoAccount. More.Ĭhange directory server used for user authentication and server management. Set the priority overflow threshold, which is used when there is active priority traffic (i.e. SetPriorityOverflowThreshold (double mbpsOverflow) ![]() SetOverflowThreshold (double mbpsOverflow) Reset the speed rate limit on a connection to unlimited. ResetConnectionRateLimit String adapterID) Set the speed rate limit on a connection. SetConnectionRateLimit String adapterID, long bps) Sets encryption status on all connections forming the tunnels. SetConnectionEncryption String adapterID, boolean encrypted)Ĭhange encryption settings per connection. More.ĮnableAutomaticConnectionPriority (boolean enabled) SetConnectionPriorities String adapterID, ConnectionPriority priority)Ĭhange priorities of a connection. More.Ĭhange the basic mode of operation, between optimizing for speed or maximizing reliability. Refreshes the current oauth access token. RefreshOAuthToken (String newOAuthAccessToken) ![]() Login String username, String password)Īuthenticate a new user using an oauth access token. More.ĭisconnect from the server if connected, or cancel a connection attempt if currenty connecting. Set the default connection method to a specific server. SetConnectMethodServer String country, String city, int num) Set the default connection method to a specific city. SetConnectMethodCity String country, String city) Set the default connection method to a specific country. Set the default connection method to an automatic selection method. SetConnectMethodAuto ( AutoConnectMethod method) More.ĬonnectByServer String country, String city, int num) More.ĬonnectB圜ity String country, String city)Ĭonnect to a server by server city. More.Ĭonnect to a server by server country. Runs the Speedify VPN as a local proxy, without a connection to a remote server. More.Ĭonnect to a server by an automatic selection method. If using the default service foregound notification, sets the Intent used when use clicks the notification. SetServiceNotificationLaunchIntent Intent intent) More.Įnsures relevant services are started. Sets the icon used by the default service foreground notification. ![]() SetServiceNotificationIcon (int drawableId) Sets the main handler for event callbacks. Sets the app name used for autoaccounts and SDK-generated UI elements, such as the foreground notification. SpeedifySDK Context applicationContext, String name, int port, ISpeedifyHandler handler) SpeedifySDK Context applicationContext, String name, ISpeedifyHandler handler)Ĭonstructor for SpeedifySDK with provided handler. SpeedifySDK Context applicationContext, String name, int port) SpeedifySDK Context applicationContext, String name) SpeedifySDK Context applicationContext) throws ExceptionĬonstructor for SpeedifySDK with default handler. Interface for your Application class to provided automatic construction of the SpeedifySDK when needed. The SpeedifySDK will call to inform you of changes through these callbacks. Create a subclass of SpeedifyHandler or implement ISpeedifyHandler, and implement the methods for the various callbacks which you are interesed in. SpeedifySDK will run its VPN services in a separate process, which needs access to a properly configured SpeedifySDK instance for your app. Instantiate an instance of SpeedifySDK in your Applications class. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |