|
NAMEHTTP::MobileAgent::Display - Display information for HTTP::MobileAgent SYNOPSIS use HTTP::MobileAgent;
my $agent = HTTP::MobileAgent->new;
my $display = $agent->display;
my $width = $display->width;
my $height = $display->height:
my($width, $height) = $display->size;
if ($display->color) {
my $depth = $display->depth;
}
# only available in DoCoMo 505i
my $width_bytes = $display->width_bytes;
my $height_bytes = $display->height_bytes;
DESCRIPTIONHTTP::MobileAgent::Display is a class for display information on HTTP::MobileAgent. Handy for image resizing or dispatching. METHODS
USING EXTERNAL MAP FILEIf the environment variable DOCOMO_MAP exists, the specified XML data will be used for $DisplayMap. ex) Please add the following code. $ENV{DOCOMO_MAP} = '/path/to/DoCoMoMap.xml';
AUTHORTatsuhiko 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 ALSOHTTP::MobileAgent, "DoCoMoMap.xml" in t POD ERRORSHey! The above document had some coding errors, which are explained below:
|