DefaultDeviceGroupProvider

Default implementation using SharedPreferences and managed config merge.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun addToGroup(groupId: String)

Add device to a group (persisted locally).

Link copied to clipboard
open override fun getDeviceGroups(): List<String>

Get current device group assignments. Merges managed config groups with local assignments.

Link copied to clipboard
open fun isInGroup(groupId: String): Boolean

Check if device is in a specific group.

Link copied to clipboard
open suspend override fun removeFromGroup(groupId: String)

Remove device from a group.

Link copied to clipboard
open suspend override fun setGroups(groupIds: List<String>)

Replace all local group assignments.