Package com.amazonaws.ivs.broadcast
Class BackgroundDetector
java.lang.Object
android.content.ContentProvider
com.amazonaws.ivs.broadcast.BackgroundDetector
- All Implemented Interfaces:
android.content.ComponentCallbacks
,android.content.ComponentCallbacks2
public class BackgroundDetector
extends android.content.ContentProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class android.content.ContentProvider
android.content.ContentProvider.CallingIdentity, android.content.ContentProvider.PipeDataWriter<T>
-
Field Summary
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getType
(android.net.Uri uri) android.net.Uri
insert
(android.net.Uri uri, android.content.ContentValues contentValues) boolean
onCreate()
android.database.Cursor
protected static void
shouldReport
(boolean report) int
update
(android.net.Uri uri, android.content.ContentValues contentValues, String s, String[] strings) Methods inherited from class android.content.ContentProvider
applyBatch, applyBatch, attachInfo, bulkInsert, call, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getTypeAnonymous, getWritePermission, insert, isTemporary, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, query, refresh, requireContext, restoreCallingIdentity, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize, update
-
Constructor Details
-
BackgroundDetector
public BackgroundDetector()
-
-
Method Details
-
onCreate
public boolean onCreate()- Specified by:
onCreate
in classandroid.content.ContentProvider
-
query
@Nullable public android.database.Cursor query(@NonNull android.net.Uri uri, @Nullable String[] strings, @Nullable String s, @Nullable String[] strings1, @Nullable String s1) - Specified by:
query
in classandroid.content.ContentProvider
-
getType
- Specified by:
getType
in classandroid.content.ContentProvider
-
insert
@Nullable public android.net.Uri insert(@NonNull android.net.Uri uri, @Nullable android.content.ContentValues contentValues) - Specified by:
insert
in classandroid.content.ContentProvider
-
delete
- Specified by:
delete
in classandroid.content.ContentProvider
-
update
public int update(@NonNull android.net.Uri uri, @Nullable android.content.ContentValues contentValues, @Nullable String s, @Nullable String[] strings) - Specified by:
update
in classandroid.content.ContentProvider
-
shouldReport
protected static void shouldReport(boolean report)
-