1 package com.android.server.wifi.hotspot2; 2 3 public class IconEvent { 4 private final long mBSSID; 5 private final String mFileName; 6 private final int mSize; 7 8 public IconEvent(long bssid, String fileName, int size) { 9 mBSSID = bssid; 10 mFileName = fileName; 11 mSize = size; 12 } 13 14 public long getBSSID() { 15 return mBSSID; 16 } 17 18 public String getFileName() { 19 return mFileName; 20 } 21 22 public int getSize() { 23 return mSize; 24 } 25 26 @Override 27 public String toString() { 28 return "IconEvent: " + 29 "BSSID=" + String.format("%012x", mBSSID) + 30 ", fileName='" + mFileName + '\'' + 31 ", size=" + mSize; 32 } 33 } 34