# Class TAndroidInternetAccess

Description
Hierarchy
Fields
Methods
Properties

## Unit

androidinternetaccess

## Declaration

`type TAndroidInternetAccess = class(TInternetAccess)`

## Description

Internet access class using the Apache HttpComponents on Android.

Set defaultInternetAccessClass to `TAndroidInternetAccess` if you want to use this class on Android.
Additionally bbjniutils.jvmref must be set to the Java VM reference.
This class handles cookies. Apaches's HttpClient also handles cookies. This might lead to duplicated cookie headers, if you do not disable Apache's handling with a custom http client class on the Java side.

## Hierarchy

- TObject
- TInternetAccess
- TAndroidInternetAccess

## Overview

### Methods

| `constructor create(); override;`
| `constructor create(const internetConfig: TInternetConfig); override;`
| `destructor destroy; override;`
| `function internalHandle: TObject; override;`
| `function setCredentials(const username, password: string; const host: string): boolean;`

## Description

### Methods

| `constructor create(); override;`

| `constructor create(const internetConfig: TInternetConfig); override;`

| `destructor destroy; override;`

| `function internalHandle: TObject; override;`

| `function setCredentials(const username, password: string; const host: string): boolean;`
sets username and password for an host

Generated by PasDoc 0.16.0.