|
YAACC - UPNP Client and Server
|
Asks the content provider of a shared file for its MIME type and its display name. More...

Classes | |
| class | Info |
| What the provider said; every field may be null. | |
Static Public Member Functions | |
| static Info | query (ContentResolver resolver, Uri uri) |
| Never throws; a failing provider is a null field. | |
Asks the content provider of a shared file for its MIME type and its display name.
Both answers are untrusted text from another app: the type goes through SharedContentPolicy.chooseMimeType, the name through DisplayName.forShare.
These are Binder calls into another process and can block for ever: call only on a worker thread, through de.yaacc.share.BoundedCall, never on the main thread.