def asDict(self):
        '''
            asDict - Returns a copy of the current state as a dictionary. This copy will not be updated automatically.

            @return <dict> - Dictionary with all fields in BackgroundTaskInfo.FIELDS
        '''
        ret = {}
        for field in BackgroundTaskInfo.FIELDS:
            ret[field] = getattr(self, field)
        return ret
asDict - Returns a copy of the current state as a dictionary. This copy will not be updated automatically.

            @return <dict> - Dictionary with all fields in BackgroundTaskInfo.FIELDS