No it isn’t the correct function because it will hide the scroll indicator but not prevent scrolling.
I think the only way to prevent scrolling in a particular direction is to make sure the Mobilescrollablearea.Container width or height is smaller than the Mobilescrollablearea width / height respectively.
I didn’t know ARCollectionView had this. I just finished doing it and it serves my purpose. I’ll have a closer look at ARCollectionView before I will be doing something like this again…