The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTTP::MobileAgent::AirHPhone - Air H" Phone implementation

SYNOPSIS

use HTTP::MobileAgent;

local $ENV{HTTP_USER_AGENT} = "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0";
my $agent = HTTP::MobileAgent->new;

printf "Name: %s\n", $agent->name;		# DDIPOCKET
printf "Vendor: %s\n", $agent->vendor;        # JRC
printf "Model: %s\n", $agent->model;          # AH-J3001V,AH-J3002V 
printf "Model Version: %s\n", $agent->model_version;	# 1.0
printf "Browser Version: %s\n", $agent->browser_version;	# 0100
printf "Cache Size: %s\n", $agent->cache_size; # 50

DESCRIPTION

HTTP::MobileAgent::AirHPhone is a subclass of HTTP::MobileAgent, which implements DDIPocket's Air H" Phone user agents.

METHODS

See "METHODS" in HTTP::MobileAgent for common methods. Here are HTTP::MobileAgent::AirHPhone specific methods.

vendor
$vendor = $agent->vendor;

returns vendor name.

model
$model = $agent->model;

returns model name. Note that model names are separated with ','.

model_version
$model_ver = $agent->model_version;

returns version number of the model.

browser_version
$browser_ver = $agent->browser_version;

returns versino number of the browser.

cache_size
$cache_size = $agent->cache_size;

returns cache size with kilobyte unit.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

HTTP::MobileAgent

http://www.ddipocket.co.jp/airh_phone/i_hp.html