BeaconInitProvider

class BeaconInitProvider : ContentProvider

Internal Beacon SDK class to handle the initialisation of the SDK with Application Context

Auto Init can be disabled by adding the following meta-data tag to your manifest. However if Auto Init is disabled you need to pass context to Beacon.Builder.withContext() to manually init the Beacon.

<meta-data android:name="com.helpscout.beacon.SDKAutoInitialise" android:value="false" />

Constructors

BeaconInitProvider
Link copied to clipboard
fun BeaconInitProvider()

Types

Companion
Link copied to clipboard
object Companion

Functions

applyBatch
Link copied to clipboard
open fun applyBatch(p0: ArrayList<ContentProviderOperation>): Array<ContentProviderResult>
open fun applyBatch(p0: String, p1: ArrayList<ContentProviderOperation>): Array<ContentProviderResult>
attachInfo
Link copied to clipboard
open fun attachInfo(p0: Context, p1: ProviderInfo)
bulkInsert
Link copied to clipboard
open fun bulkInsert(p0: Uri, p1: Array<ContentValues>): Int
call
Link copied to clipboard
open fun call(p0: String, p1: String?, p2: Bundle?): Bundle?
open fun call(p0: String, p1: String, p2: String?, p3: Bundle?): Bundle?
canonicalize
Link copied to clipboard
open fun canonicalize(p0: Uri): Uri?
clearCallingIdentity
Link copied to clipboard
fun clearCallingIdentity(): ContentProvider.CallingIdentity
delete
Link copied to clipboard
open fun delete(p0: Uri, p1: Bundle?): Int
open override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int
dump
Link copied to clipboard
open fun dump(p0: FileDescriptor, p1: PrintWriter, p2: Array<String>)
getCallingAttributionSource
Link copied to clipboard
fun getCallingAttributionSource(): AttributionSource?
getCallingAttributionTag
Link copied to clipboard
fun getCallingAttributionTag(): String?
getCallingPackage
Link copied to clipboard
fun getCallingPackage(): String?
getCallingPackageUnchecked
Link copied to clipboard
fun getCallingPackageUnchecked(): String?
getContext
Link copied to clipboard
fun getContext(): Context?
getPathPermissions
Link copied to clipboard
fun getPathPermissions(): Array<PathPermission>?
getReadPermission
Link copied to clipboard
fun getReadPermission(): String?
getStreamTypes
Link copied to clipboard
open fun getStreamTypes(p0: Uri, p1: String): Array<String>?
getType
Link copied to clipboard
open override fun getType(uri: Uri): String
getWritePermission
Link copied to clipboard
fun getWritePermission(): String?
insert
Link copied to clipboard
open override fun insert(uri: Uri, values: ContentValues?): Uri
open fun insert(p0: Uri, p1: ContentValues?, p2: Bundle?): Uri?
isTemporary
Link copied to clipboard
open fun isTemporary(): Boolean
onCallingPackageChanged
Link copied to clipboard
open fun onCallingPackageChanged()
onConfigurationChanged
Link copied to clipboard
open override fun onConfigurationChanged(p0: Configuration)
onCreate
Link copied to clipboard
open override fun onCreate(): Boolean
onLowMemory
Link copied to clipboard
open override fun onLowMemory()
onTrimMemory
Link copied to clipboard
open override fun onTrimMemory(p0: Int)
openAssetFile
Link copied to clipboard
open fun openAssetFile(p0: Uri, p1: String): AssetFileDescriptor?
open fun openAssetFile(p0: Uri, p1: String, p2: CancellationSignal?): AssetFileDescriptor?
openFile
Link copied to clipboard
open fun openFile(p0: Uri, p1: String): ParcelFileDescriptor?
open fun openFile(p0: Uri, p1: String, p2: CancellationSignal?): ParcelFileDescriptor?
openFileHelper
Link copied to clipboard
fun openFileHelper(p0: Uri, p1: String): ParcelFileDescriptor
openPipeHelper
Link copied to clipboard
open fun <T : Any> openPipeHelper(p0: Uri, p1: String, p2: Bundle?, p3: T?, p4: ContentProvider.PipeDataWriter<T>): ParcelFileDescriptor
openTypedAssetFile
Link copied to clipboard
open fun openTypedAssetFile(p0: Uri, p1: String, p2: Bundle?): AssetFileDescriptor?
open fun openTypedAssetFile(p0: Uri, p1: String, p2: Bundle?, p3: CancellationSignal?): AssetFileDescriptor?
query
Link copied to clipboard
open fun query(p0: Uri, p1: Array<String>?, p2: Bundle?, p3: CancellationSignal?): Cursor?
open override fun query(uri: Uri, projection: Array<out String>?, selection: String?, selectionArgs: Array<out String>?, sortOrder: String?): Cursor
open fun query(p0: Uri, p1: Array<String>?, p2: String?, p3: Array<String>?, p4: String?, p5: CancellationSignal?): Cursor?
refresh
Link copied to clipboard
open fun refresh(p0: Uri, p1: Bundle?, p2: CancellationSignal?): Boolean
requireContext
Link copied to clipboard
fun requireContext(): Context
restoreCallingIdentity
Link copied to clipboard
fun restoreCallingIdentity(p0: ContentProvider.CallingIdentity)
setPathPermissions
Link copied to clipboard
fun setPathPermissions(p0: Array<PathPermission>?)
setReadPermission
Link copied to clipboard
fun setReadPermission(p0: String?)
setWritePermission
Link copied to clipboard
fun setWritePermission(p0: String?)
shutdown
Link copied to clipboard
open fun shutdown()
uncanonicalize
Link copied to clipboard
open fun uncanonicalize(p0: Uri): Uri?
update
Link copied to clipboard
open fun update(p0: Uri, p1: ContentValues?, p2: Bundle?): Int
open override fun update(uri: Uri, values: ContentValues?, selection: String?, selectionArgs: Array<out String>?): Int