private void setNotificationOptions ( Context context , MFPPushNotificationOptions options ) { if ( this . appContext == null ) { this . appContext = context . getApplicationContext ( ) ; } this . options = options ; Gson gson = new Gson ( ) ; String json = gson . toJson ( options ) ; SharedPreferences sharedPreferences = appContext . getSharedPreferences ( PREFS_NAME , Context . MODE_PRIVATE ) ; MFPPushUtils . storeContentInSharedPreferences ( sharedPreferences , MFPPush . PREFS_MESSAGES_OPTIONS , json ) ; }
Set the default push notification options for notifications .