mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-18 22:17:30 +00:00
23 lines
481 B
Java
23 lines
481 B
Java
|
package org.thoughtcrime.securesms.mediasend;
|
||
|
|
||
|
import android.net.Uri;
|
||
|
import android.support.annotation.NonNull;
|
||
|
import android.support.annotation.Nullable;
|
||
|
import android.view.View;
|
||
|
|
||
|
/**
|
||
|
* A page that sits in the {@link MediaSendFragmentPagerAdapter}.
|
||
|
*/
|
||
|
public interface MediaSendPageFragment {
|
||
|
|
||
|
@NonNull Uri getUri();
|
||
|
|
||
|
void setUri(@NonNull Uri uri);
|
||
|
|
||
|
@Nullable View getPlaybackControls();
|
||
|
|
||
|
@Nullable Object saveState();
|
||
|
|
||
|
void restoreState(@NonNull Object state);
|
||
|
}
|