Skip to main content
Member of ML.SDK.MLPlayer
Method

void MLPlayer.BindToPortalHaltStatus(Action<[bool](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.5)> callback)

 void MLPlayer.BindToPortalHaltStatus(Action`<bool>` callback);

Parameters

ParameterTypeDescription
callbackAction<[bool](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.5)>Action called when halt is assigned

Returns

void

Summary

Calls the function when halt status is assigned

Only for local player