15 lines
426 B
Kotlin
15 lines
426 B
Kotlin
package pl.edu.amu.wmi.socialaggregator.socialplatforms
|
|
|
|
import android.content.Context
|
|
import android.graphics.Bitmap
|
|
|
|
interface SocialPlatform {
|
|
|
|
fun getName(): String
|
|
fun login(context: Context)
|
|
fun logout(context: Context)
|
|
fun isLoggedIn(context: Context): Boolean
|
|
fun addPost(context: Context, text: String, images: List<Bitmap>)
|
|
fun getPosts(context: Context): List<Post>
|
|
fun getLogo(): Int
|
|
} |