Skip to main content
Version: v3.x

mstOnServiceChangeEnd

Start from API_LEVEL 3.0 . Please refer to API_LEVEL.

Register the Service change end callback function.

Type

function mstOnServiceChangeEnd(callback: Callback): Result

Parameters

Callback

TypeDescription
(profile: Profile) => voidService change end callback function

Profile

TypeDescription
numberProfile pointer

Result

TypeDescription
booleanThe result of the function call, true means success, false means failure

Example

import { mstOnServiceChangeEnd } from '@zos/ble'

// ...