1 package com.coremedia.iso.boxes.apple; 2 3 /** 4 * itunes MetaData comment box. 5 */ 6 public class AppleStoreAccountTypeBox extends AbstractAppleMetaDataBox { 7 public static final String TYPE = "akID"; 8 9 10 public AppleStoreAccountTypeBox() { 11 super(TYPE); 12 appleDataBox = AppleDataBox.getUint8AppleDataBox(); 13 } 14 15 public String getReadableValue() { 16 byte value = this.appleDataBox.getData()[0]; 17 switch (value) { 18 case 0: 19 return "iTunes Account"; 20 case 1: 21 return "AOL Account"; 22 default: 23 return "unknown Account"; 24 } 25 26 } 27 }