GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::MobileAgent::AirHPhone(3) User Contributed Perl Documentation HTTP::MobileAgent::AirHPhone(3)

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

  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

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

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.

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.

HTTP::MobileAgent

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

2011-02-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.