Streaming level events won't fire

Can you give a specific example, with a piece of code?