public class

Musubi

extends Object
java.lang.Object
   ↳ mobisocial.socialkit.musubi.Musubi

Class Overview

Use the Musubi APIs in your application.

Summary

Nested Classes
enum Musubi.DbThing  
Constants
String AUTHORITY The name of the Musubi content provider.
String EXTRA_FEED_URI
String EXTRA_OBJ_URI
String TAG
Public Constructors
Musubi(Context context)
Public Methods
static Musubi forIntent(Context context, Intent intent)
DbFeed getFeed()
DbFeed getFeed(Uri feedUri)
static Musubi getInstance(Context context)
static Intent getMarketIntent()
DbObj getObj()
static boolean isMusubiInstalled(Context context)
static boolean isMusubiIntent(Intent intent)
static String mimeTypeFor(String musubiType)
DbObj objForCursor(Cursor cursor)
DbObj objForId(long localId)
DbObj objForUri(Uri objUri)
DbObj objFromIntent(Intent intent)
Cursor queryAppData(String[] projection, String selection, String[] selectionArgs, String sortOrder)
void setDataFromIntent(Intent intent)
void setFeed(DbFeed feed)
static Uri uriForDir(Musubi.DbThing type)
static Uri uriForItem(Musubi.DbThing type, long id)
Connects to a real-time multi-way, globally ordered data stream associated with the given object.
DbIdentity userForGlobalId(Uri feedUri, String personId)
DbIdentity userForLocalDevice(Uri feedUri)
Returns the DbUser that is currently logged in to this app.
DbIdentity userForLocalId(Uri feedUri, long localId)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AUTHORITY

The name of the Musubi content provider.

Constant Value: "org.musubi.db"

public static final String EXTRA_FEED_URI

Constant Value: "feedUri"

public static final String EXTRA_OBJ_URI

Constant Value: "objUri"

public static final String TAG

Constant Value: "SocialKit-DB"

Public Constructors

public Musubi (Context context)

Public Methods

public static Musubi forIntent (Context context, Intent intent)

public DbFeed getFeed ()

public DbFeed getFeed (Uri feedUri)

public static Musubi getInstance (Context context)

public static Intent getMarketIntent ()

public DbObj getObj ()

public static boolean isMusubiInstalled (Context context)

public static boolean isMusubiIntent (Intent intent)

public static String mimeTypeFor (String musubiType)

public DbObj objForCursor (Cursor cursor)

public DbObj objForId (long localId)

public DbObj objForUri (Uri objUri)

public DbObj objFromIntent (Intent intent)

public Cursor queryAppData (String[] projection, String selection, String[] selectionArgs, String sortOrder)

public void setDataFromIntent (Intent intent)

public void setFeed (DbFeed feed)

public static Uri uriForDir (Musubi.DbThing type)

public static Uri uriForItem (Musubi.DbThing type, long id)

Connects to a real-time multi-way, globally ordered data stream associated with the given object.

public DbIdentity userForGlobalId (Uri feedUri, String personId)

public DbIdentity userForLocalDevice (Uri feedUri)

Returns the DbUser that is currently logged in to this app.

public DbIdentity userForLocalId (Uri feedUri, long localId)