package Ġcom . say zen . camp fire sdk . controllers . notifications . account Ċ Ċ import Ġandroid . content . Intent Ċ import Ġcom . d zen . camp fire . api . API _ TRANSL ATE Ċ import Ġcom . d zen . camp fire . api . models . notifications . account . Notification Ach ievement Ċ import Ġcom . say zen . camp fire sdk . R Ċ import Ġcom . say zen . camp fire sdk . app . Camp fire Constants Ċ import Ġcom . say zen . camp fire sdk . controllers . Controller Api Ċ import Ġcom . say zen . camp fire sdk . controllers . Controller Notifications Ċ import Ġcom . say zen . camp fire sdk . controllers . Controller Settings Ċ import Ġcom . say zen . camp fire sdk . controllers . t Cap Ċ import Ġcom . say zen . camp fire sdk . screens . ach ievements . SA ch ievements Ċ import Ġcom . sup . dev . android . libs . screens . navigator . Navigator Ċ import Ġcom . sup . dev . android . tools . Tools Resources ĊĊ Ċ public Ġclass ĠNotification Ach ievement Parser ( override Ġval Ġn : ĠNotification Ach ievement ) Ġ: ĠController Notifications . Parser ( n ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġpost ( icon : ĠInt , Ġintent : ĠIntent , Ġtext : ĠString , Ġtitle : ĠString , Ġtag : ĠString , Ġsound : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ( if Ġ( sound ) ĠController Notifications . ch anel Other Ġelse ĠController Notifications . ch anel Other _ sal ient ). post ( icon , Ġget Title (), Ġtext , Ġintent , Ġtag ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Title (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġt Cap ( API _ TRANSL ATE . ach ievements _ notification ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġas String ( html : ĠBoolean ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġvar Ġtext Ġ= ĠCamp fire Constants . get Ach ievement ( n . ach i Index ). getText ( false ) ĊĠĠĠĠĠĠĠ Ġif Ġ( html ) Ġtext Ġ= Ġ"^ $ text ^ " ĊĠĠĠĠĠĠĠ Ġreturn Ġtext ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġcan Show () Ġ= Ġ ĠController Settings . notifications Ach ievements ĊĊĠĠĠ Ġoverride Ġfun Ġdo Action () Ġ{ ĊĠĠĠĠĠĠĠ ĠSA ch ievements . instance ( Controller Api . account . getId (), ĠController Api . account . getName (), Ġn . ach i Index , Ġfalse , ĠNavigator . TO ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ