Contents

stayActiveRequest(with:completion:)

Command StayActiveRequest

Declaration

func stayActiveRequest(with params: MTRICDManagementClusterStayActiveRequestParams, completion: @escaping  @Sendable (MTRICDManagementClusterStayActiveResponseParams?, (any Error)?) -> Void)
func stayActiveRequest(with params: MTRICDManagementClusterStayActiveRequestParams) async throws -> MTRICDManagementClusterStayActiveResponseParams

Discussion

This command allows a client to request that the server stays in active mode for at least a given time duration (in milliseconds) from when this command is received.