import java.util.Collection;
+import net.pterodactylus.sone.data.LocalSone;
import net.pterodactylus.sone.data.Sone;
+import com.google.common.base.Optional;
+
/**
* Provides information about {@link Sone#getFriends() friends} of a {@link Sone}.
*
*/
public interface FriendProvider {
- Collection<String> getFriends(Sone localSone);
- boolean isFriend(Sone localSone, String friendSoneId);
+ Collection<String> getFriends(LocalSone localSone);
+ Optional<Long> getSoneFollowingTime(String remoteSoneId);
+ boolean isFriend(LocalSone localSone, String friendSoneId);
}