topical media & game development

talk show tell print

mobile-wikitude-IPOI.php / php



  <?php
  
          
Describes a contract for a Wikitude-ARML-Placemark
author: Thomas Krammer - www.powerhour.at
version: 1.1

  
  	interface PowerHour_Wikitude_IPOI
          {
  
                  

returns: string id Identifies a point of interest. Is used to update POIs when uploaded via Wikitude.me

  
                  public function getId();
  
                  

returns: string provider Reference to the content provider definition.

  
                  public function getProvider() ;
  
                  

returns: name Name of the POI. Displayed as POI title.

  
                  public function getName();
  
                  

returns: description Description of the POI. Currently no HTML formatting is allowed.

  
                  public function getDescription();
  
                  

returns: thumbnail Additional information about a POI that is displayed in the bubble.

  
                  public function getThumbnail();
  
                  

returns: phone When a phone number is given, Wikitude displays a "call me" button in the bubble. You can directly call the person/organization behind the POI. E.g. call a restaurant to reserve a table for dinner.

  
                  public function getPhone();
  
                  

returns: url Link to a web page that contains additional information about the POI.

  
                  public function getUrl();
  
                  

returns: email Write the person/organization an email directly from Wikitude.

  
                  public function getEmail();
  
                  

returns: address Address of the POI. Also used to route to the location of the POI.

  
                  public function getAddress();
  
                  

returns: array Can be a link to a resource (image, PDF file, ...). You could use this to issue coupons or vouchers for potential clients that found you via Wikitude.

  
                  //public function getAttachments();
  
                  

returns: string The coordinates are entered in the format longitude, latitude, altitude. Altitude is optional. Altitude must be given in meters.

  
                  public function getCoordinates();
  
          }


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.