Since: API level 34
public interface

PeripheralStateListener

com.samsung.android.knox.ex.peripheral.PeripheralStateListener

Deprecated in API level 37

Class Overview

Used by privileged application to get state change event from peripheral service

Since
API level 34
KNOX 3.7.1

Summary

Public Methods
abstract void onFail(int errorCode, String description)
Deprecated in API level 37
abstract void onStateChange(int eventType, Bundle data)
Deprecated in API level 37
abstract void onSuccess()
Deprecated in API level 37

Public Methods

public abstract void onFail (int errorCode, String description)

Since: API level 34

Deprecated in API level 37

API callback for PeripheralManager. invoked when listener registration has failed.

Since
API level 34
KNOX 3.7.1

public abstract void onStateChange (int eventType, Bundle data)

Since: API level 34

Deprecated in API level 37

API callback for PeripheralManager. invoked when peripheral state has been changed.

Parameters
eventType {com.samsung.android.knox.ex.peripheral.PeripheralConstants.EventType}.
data barcode bundle listener is registered
Since
API level 34
KNOX 3.7.1

public abstract void onSuccess ()

Since: API level 34

Deprecated in API level 37

API callback for PeripheralManager. invoked when listener registration has succeeded.

Since
API level 34
KNOX 3.7.1