Convert Java.Lang.Object to Array

Nathan Sokalski 4,111 Reputation points
2022-09-23T20:00:48.963+00:00

I have a Java.Lang.Object which was created from a float[][][][] using Java.Lang.Object.FromArray(xxx). I now need to convert the Java.Lang.Object back to a float[][][][]. I am not very familiar with converting between Java.Lang.Object and .NET. How can I convert back to float[][][][]? Thanks.

Developer technologies .NET Xamarin
Developer technologies C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2022-09-24T11:58:50.233+00:00

    You will need to know what the data type is and use something like the following taken from here. I have not tried this.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.